Makefile

changeset 91
fac51f87def0
parent 46
636e05eb48f6
child 270
4cfaa02055cd
--- a/Makefile	Wed Jul 31 13:02:06 2013 +0200
+++ b/Makefile	Sun Sep 08 23:27:07 2013 +0200
@@ -26,10 +26,16 @@
 # POSSIBILITY OF SUCH DAMAGE.
 #
 
-all: config.mk
+all: config.mk build/bin build/lib
 	@echo "build server"
 	cd src; $(MAKE) all
 
+build/bin:
+	mkdir -p build/bin
+
+build/lib:
+	mkdir -p build/lib
+
 config.mk:
 	@echo "create config"
 	./configure
@@ -37,11 +43,6 @@
 clean:
 	@echo "clean"
 	rm -f -R build
-	rm -f -R work
-
-cleanbuild:
-	@echo "clean build"
-	rm -f -R build
 
 cleanall:
 	@echo "clean all"

mercurial