aboutsummaryrefslogtreecommitdiffstats
path: root/misc
diff options
context:
space:
mode:
Diffstat (limited to 'misc')
-rw-r--r--misc/python/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/misc/python/Makefile b/misc/python/Makefile
index d37e646e9..c85de6c3a 100644
--- a/misc/python/Makefile
+++ b/misc/python/Makefile
@@ -16,13 +16,13 @@ WRAP_OBJS = $(patsubst src/%.cpp,build/%.o,$(WRAP_SRC))
all: botan/_botan.so
-build/%.o: src/%.cpp dirs
+build/%.o: src/%.cpp
$(CXX) $(SHARED_CFLAGS) $(WRAPPER_CFLAGS) -c $< -o $@
botan/_botan.so: $(WRAP_OBJS)
$(CXX) -shared -o $@ $(shell botan-config --libs) -L$(PYTHON_ROOT) $(WRAP_OBJS) -Lbuild/ -lboost_python -Wl,-rpath-link,. -Wl,-soname,$@
-dirs:
+dirs: build/ botan/
mkdir -p build botan
clean: