Makefile

changeset 33
0bbbb0341606
parent 32
c9d37bb97ea8
child 68
f6d3db6113d3
--- a/Makefile	Fri Aug 23 11:04:07 2013 +0200
+++ b/Makefile	Mon Aug 26 14:42:09 2013 +0200
@@ -39,22 +39,27 @@
 
 include $(CONF).mk
 
-all: build/tool ucx dav
+all: build ucx libidav dav
 
-build/tool:
+build:
 	mkdir -p build/tool
+	mkdir -p build/ucx
+	mkdir -p build/libidav
 
-ucx: FORCE build
+ucx: FORCE
 	cd ucx; $(MAKE) CONF=$(CONF) all
+
+libidav: FORCE
+	cd libidav; $(MAKE) CONF=$(CONF) all
 	
-dav: FORCE ucx
+dav: FORCE libidav ucx
 	cd dav; $(MAKE) CONF=$(CONF) all
 
 run: FORCE dav
 	./build/dav$(APP_EXT)
 
 clean: FORCE
-	$(RM) $(RMFLAGS) build/*.${OBJ_EXT} build/tool/*.${OBJ_EXT}
+	$(RM) $(RMFLAGS) -R build/
 
 FORCE:
 

mercurial