1
0

01-cross.patch 761 B

123456789101112131415161718192021222324
  1. diff -ruN miax-1.4-old/Makefile miax-1.4-new/Makefile
  2. --- miax-1.4-old/Makefile 2005-04-27 18:56:13.000000000 +0200
  3. +++ miax-1.4-new/Makefile 2005-11-30 01:07:21.000000000 +0100
  4. @@ -1,4 +1,5 @@
  5. -CFLAGS= -Iiax/ -Igsm/inc -DIAXC_IAX2 -DLIBIAX -g -DPOSIXSLEEP -DLINUX -O2
  6. +OFLAGS= -02 -g
  7. +CFLAGS= -Iiax/ -Igsm/inc $(CPPFLAGS) -DIAXC_IAX2 -DLIBIAX -DPOSIXSLEEP -DLINUX $(OFLAGS)
  8. SYSLIBS=-lpthread -lm -lbluetooth
  9. @@ -32,11 +33,10 @@
  10. miax.o
  11. all: $(OBJS)
  12. - gcc $(OBJS) $(CFLAGS) $(SYSLIBS) -o miax
  13. - cp miax /bin/miax
  14. + $(CC) $(OBJS) $(CFLAGS) $(LDFLAGS) $(SYSLIBS) -o miax
  15. static: $(OBJS) bluetooth.o
  16. - gcc $(OBJS) $(CFLAGS) $(SYSLIBS) -static -o miax
  17. + $(CC) $(OBJS) $(CFLAGS) $(LDFLAGS) $(SYSLIBS) -static -o miax
  18. clean:
  19. rm -f $(OBJS) miax