1
0

patch-server_Makefile 685 B

1234567891011121314151617181920212223242526
  1. --- palantir-2.7.orig/server/Makefile 2007-05-19 01:31:36.000000000 +0200
  2. +++ palantir-2.7/server/Makefile 2011-01-20 15:24:19.478658283 +0100
  3. @@ -47,10 +47,11 @@ ENABLE_X11MON= 0
  4. .PHONY : tools man
  5. -CFLAGS= -Wall -D_REENTRANT -O2 -g
  6. +CFLAGS?= -Wall -D_REENTRANT -O2 -g
  7. # -O3
  8. -CC= gcc
  9. -libjpeg= -ljpeg
  10. +CC?= gcc
  11. +LIBS?=
  12. +LIBS+= -ljpeg -lpthread
  13. ifeq ($(TARGET),mips)
  14. BROADCOM_SRC= /usr/local/broadcom/src
  15. @@ -86,7 +87,7 @@ SRCS= *.c
  16. libgsm= libgsm/lib/libgsm.a
  17. palantir: $(libgsm) $(OBJ) tools man
  18. - $(CC) $(CFLAGS) $(LDFLAGS) $(OBJ) $(libgsm) $(libjpeg) -lpthread -o palantir
  19. + $(CC) $(LDFLAGS) $(OBJ) $(libgsm) $(LIBS) -o palantir
  20. mips:
  21. make TARGET=mips palantir