Makefile

changeset 33
0bbbb0341606
parent 32
c9d37bb97ea8
child 68
f6d3db6113d3
equal deleted inserted replaced
32:c9d37bb97ea8 33:0bbbb0341606
37 37
38 CONF=gcc 38 CONF=gcc
39 39
40 include $(CONF).mk 40 include $(CONF).mk
41 41
42 all: build/tool ucx dav 42 all: build ucx libidav dav
43 43
44 build/tool: 44 build:
45 mkdir -p build/tool 45 mkdir -p build/tool
46 mkdir -p build/ucx
47 mkdir -p build/libidav
46 48
47 ucx: FORCE build 49 ucx: FORCE
48 cd ucx; $(MAKE) CONF=$(CONF) all 50 cd ucx; $(MAKE) CONF=$(CONF) all
51
52 libidav: FORCE
53 cd libidav; $(MAKE) CONF=$(CONF) all
49 54
50 dav: FORCE ucx 55 dav: FORCE libidav ucx
51 cd dav; $(MAKE) CONF=$(CONF) all 56 cd dav; $(MAKE) CONF=$(CONF) all
52 57
53 run: FORCE dav 58 run: FORCE dav
54 ./build/dav$(APP_EXT) 59 ./build/dav$(APP_EXT)
55 60
56 clean: FORCE 61 clean: FORCE
57 $(RM) $(RMFLAGS) build/*.${OBJ_EXT} build/tool/*.${OBJ_EXT} 62 $(RM) $(RMFLAGS) -R build/
58 63
59 FORCE: 64 FORCE:
60 65

mercurial