aboutsummaryrefslogtreecommitdiffstats
path: root/misc
diff options
context:
space:
mode:
authorlloyd <[email protected]>2006-08-23 09:06:31 +0000
committerlloyd <[email protected]>2006-08-23 09:06:31 +0000
commitc834dffb49deca70b130803ded521b4b6cf40c9c (patch)
tree44b4a47545fa9055d595a48a9caada368beb0645 /misc
parent1f1f857f8c8ada3f4242f86cbf3d698853c752e0 (diff)
Drop this nonsense with the build/ directory, it was just getting in the way
Diffstat (limited to 'misc')
-rw-r--r--misc/python/Makefile12
1 files changed, 4 insertions, 8 deletions
diff --git a/misc/python/Makefile b/misc/python/Makefile
index c85de6c3a..e05666332 100644
--- a/misc/python/Makefile
+++ b/misc/python/Makefile
@@ -12,19 +12,15 @@ SHARED_CFLAGS = $(LANG_FLAGS) $(OPT_FLAGS) $(PYTHON_INC)
BOOST_CFLAGS = $(PYTHON_DEF) $(SHARED_CFLAGS)
WRAP_SRC = $(wildcard src/*)
-WRAP_OBJS = $(patsubst src/%.cpp,build/%.o,$(WRAP_SRC))
+WRAP_OBJS = $(patsubst src/%.cpp,%.o,$(WRAP_SRC))
all: botan/_botan.so
-build/%.o: src/%.cpp
+%.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: build/ botan/
- mkdir -p build botan
+ $(CXX) -shared -o $@ $(shell botan-config --libs) -L$(PYTHON_ROOT) $(WRAP_OBJS) -lboost_python -Wl,-rpath-link,. -Wl,-soname,$@
clean:
- rm -rf build
- rm -f botan/*.so botan/*.pyc
+ rm -f $(WRAP_OBJS) botan/_botan.so botan/*.pyc