diff options
Diffstat (limited to 'src/makefile.osx')
-rw-r--r-- | src/makefile.osx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/makefile.osx b/src/makefile.osx index 699911d4e6..363a85fc7b 100644 --- a/src/makefile.osx +++ b/src/makefile.osx @@ -76,8 +76,8 @@ obj/nogui/%.o: %.cpp $(HEADERS) bitcoind: $(OBJS:obj/%=obj/nogui/%) $(CXX) $(CFLAGS) -o $@ $(LIBPATHS) $^ $(LIBS) -obj/test/%.o: test/%.cpp $(HEADERS) - $(CXX) -c $(CFLAGS) -o $@ $< +obj/test/test_bitcoin.o: $(wildcard test/*.cpp) $(HEADERS) + $(CXX) -c $(CFLAGS) -o $@ test/test_bitcoin.cpp test_bitcoin: obj/test/test_bitcoin.o $(filter-out obj/nogui/init.o,$(OBJS:obj/%=obj/nogui/%)) $(CXX) $(CFLAGS) -o $@ $(LIBPATHS) $^ $(LIBS) -lboost_unit_test_framework |