override LDFLAGS += -lcppunit ../lib/libbible.so SOURCES = $(wildcard *.cc) OBJECTS = $(SOURCES:.cc=.o) DEPS = $(OBJECTS:.o=.d) TEST = testLibbible $(TEST): $(OBJECTS) $(CXX) $^ -o $@ $(LDFLAGS) -include $(DEPS) .PHONY: test test: $(TEST) ./$(TEST) .PHONY: clean clean: $(RM) $(OBJECTS) $(DEPS) $(TEST)