Browse Source

fix calling individual targets

(broken in 82af922b40)

Otherwise commands like `make i2p` will fail.
pull/125/merge
Kill Your TV 10 years ago
parent
commit
2ed99ba245
  1. 2
      Makefile

2
Makefile

@ -37,10 +37,12 @@ api: $(SHLIB) @@ -37,10 +37,12 @@ api: $(SHLIB)
## custom FLAGS to work at build-time.
deps:
@test -d obj || mkdir obj
$(CXX) $(CXXFLAGS) $(NEEDED_CXXFLAGS) -MM *.cpp > $(DEPS)
@sed -i -e '/\.o:/ s/^/obj\//' $(DEPS)
obj/%.o : %.cpp
@test -d obj || mkdir obj
$(CXX) $(CXXFLAGS) $(NEEDED_CXXFLAGS) $(INCFLAGS) $(CPU_FLAGS) -c -o $@ $<
# '-' is 'ignore if missing' on first run

Loading…
Cancel
Save