X-Git-Url: https://git.novaco.in/?a=blobdiff_plain;f=src%2Fmakefile.osx;h=97264c7eb4c2df9abe3e598bd2dec20c9383b7ad;hb=dd7868364d9a14349ff82f74fc451db5e6b6b7b9;hp=48908d9f308e105cb0bd255d751e1393b84ebbe1;hpb=e4dde849ae5544383703ef2d73592677e6c528ad;p=novacoin.git diff --git a/src/makefile.osx b/src/makefile.osx index 48908d9..97264c7 100644 --- a/src/makefile.osx +++ b/src/makefile.osx @@ -97,8 +97,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