Makefile 587 B

12345678910111213141516171819202122232425262728293031
  1. default: all
  2. all: test
  3. check:
  4. splint \
  5. -Iinclude -Iinclude/structures -Iinclude/model/rdf -Iext/binn/src \
  6. -Iext/xxHash \
  7. -preproc \
  8. test.c
  9. build:
  10. gcc -g -Wall \
  11. -std=c99 \
  12. -DDEBUG \
  13. -Iinclude -Iinclude/structures -Iinclude/model/rdf \
  14. -Iext/xxHash \
  15. ext/xxHash/xxhash.c \
  16. src/*.c src/structures/*.c src/model/rdf/*.c \
  17. -o bin/lsup_rdf.so
  18. test:
  19. gcc -g -Wall \
  20. -std=c99 \
  21. -DDEBUG \
  22. -Iinclude -Iinclude/structures -Iinclude/model/rdf \
  23. -Iext/xxHash \
  24. -Itest \
  25. ext/xxHash/xxhash.c \
  26. src/*.c src/structures/*.c src/model/rdf/*.c test.c \
  27. -o bin/test