diff options
Diffstat (limited to 'nserver/Makefile')
-rw-r--r-- | nserver/Makefile | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/nserver/Makefile b/nserver/Makefile index 5c6bc9c..3ecfd8d 100644 --- a/nserver/Makefile +++ b/nserver/Makefile @@ -28,7 +28,7 @@ $(TARGET): build $(OBJECTS) $(SO_TARGET): $(TARGET) $(OBJECTS) $(CC) -shared -o $@ $(OBJECTS) -$(PROGRAMS): LDLIBS += $(TARGET) -lm +$(PROGRAMS): LDLIBS += $(TARGET) -lm -L/usr/local/lib -lgdbm build: @mkdir -p build @@ -36,7 +36,7 @@ build: # The Unit Tests .PHONY: tests -tests: LDLIBS += $(TARGET) -lm +tests: LDLIBS += $(TARGET) -lm -L/usr/local/lib -lgdbm tests: $(TESTS) sh ./tests/runtests.sh @@ -46,6 +46,7 @@ clean: rm -f tests/tests.log find . -name "*.gc" -exec rm {} \; rm -rf `find . -name "*.dSYM" -print` + rm -rf nserver.db # The Install install: all |