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 |