.PHONY: build test profile default: all all: test check: splint \ -Iinclude -Iext/xxHash -Iext/openldap/libraries/liblmdb \ -D_XOPEN_SOURCE=500 \ -preproc \ test.c build: gcc -g -Wall \ -std=gnu99 \ -Iinclude -Iext/xxHash -Iext/openldap/libraries/liblmdb \ -luuid \ -D_XOPEN_SOURCE=500 \ ext/xxHash/xxhash.c ext/openldap/libraries/liblmdb/midl.c \ ext/openldap/libraries/liblmdb/mdb.c \ src/*.c \ -o bin/lsup_rdf.so test: gcc -g -Wall \ -std=gnu99 \ -DDEBUG \ -Iinclude -Iext/xxHash -Iext/openldap/libraries/liblmdb -Itest \ -luuid -lpthread \ -D_XOPEN_SOURCE=500 \ ext/xxHash/xxhash.c ext/openldap/libraries/liblmdb/midl.c \ ext/openldap/libraries/liblmdb/mdb.c \ src/*.c test.c \ -o bin/test profile: gcc -g -Wall \ -std=gnu99 \ -Iinclude -Iext/xxHash -Iext/openldap/libraries/liblmdb \ -luuid \ -D_XOPEN_SOURCE=500 \ ext/xxHash/xxhash.c ext/openldap/libraries/liblmdb/midl.c \ ext/openldap/libraries/liblmdb/mdb.c \ src/*.c profile.c \ -o bin/profile