Makefile 677 B

12345678910111213141516171819202122232425262728293031323334353637
  1. .PHONY: build test profile
  2. default: all
  3. all: test
  4. check:
  5. splint \
  6. -Iinclude -Iext/xxHash -Iext/openldap/libraries/liblmdb \
  7. -preproc \
  8. test.c
  9. build:
  10. gcc -g -Wall \
  11. -std=gnu99 \
  12. -Iinclude -Iext/xxHash -Iext/openldap/libraries/liblmdb \
  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 -Iext/openldap/libraries/liblmdb -Itest \
  21. -luuid \
  22. ext/xxHash/xxhash.c src/*.c test.c \
  23. -o bin/test
  24. profile:
  25. gcc -g -Wall \
  26. <<<<<<< HEAD
  27. -std=gnu99 \
  28. -Iinclude -Iext/xxHash -Iext/openldap/libraries/liblmdb \
  29. -luuid \
  30. ext/xxHash/xxhash.c src/*.c profile.c \
  31. -o bin/profile