Makefile 526 B

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