Makefile 833 B

1234567891011121314151617181920212223242526
  1. -include ../../Rules.make
  2. export PATH=/bin:/sbin:/usr/bin:$(SDK_PATH_TARGET)/usr/bin:$PATH
  3. all: Module_RFIDLib WebServiceLib
  4. clean:
  5. rm -f libModule_RFID.a
  6. rm -f WebService
  7. rm -f logPackTools
  8. Module_RFIDLib:
  9. rm -f libModule_RFID.a
  10. $(CC) -O0 -g3 -Wall -c -fmessage-length=0 -o Module_RFID.o Module_RFID.c
  11. $(AR) -r libModule_RFID.a Module_RFID.o
  12. rm -f Module_RFID.o
  13. WebServiceLib:
  14. rm -f WebService
  15. $(CC) -I ../GPL/json-c-json-c-0.13.1-20180305/release/include/json-c -O0 -g3 -Wall -c -fmessage-length=0 -o WebService.o -ljson-c -w WebService.c
  16. $(CC) -L ../GPL/json-c-json-c-0.13.1-20180305/release/lib -o WebService WebService.o -ljson-c
  17. rm -f WebService.o
  18. $(CC) -O0 -g3 -Wall -c -fmessage-length=0 -o logPackTools.o logPackTools.c
  19. $(CC) -o logPackTools logPackTools.o
  20. rm -f logPackTools.o