Makefile

changeset 251
7534cb97b9ab
parent 242
a39be87d34d4
child 259
6c8d5f8a1d6f
equal deleted inserted replaced
250:a2cb914f133f 251:7534cb97b9ab
40 PREFIX=/usr 40 PREFIX=/usr
41 DESTDIR=$(PREFIX) 41 DESTDIR=$(PREFIX)
42 42
43 include $(CONF).mk 43 include $(CONF).mk
44 44
45 all: build/tool build/ucx build/libidav ucx libidav dav 45 all: build/tool build/ucx build/libidav build/test ucx libidav dav test
46 46
47 build/tool: 47 build/tool:
48 mkdir -p build/tool 48 mkdir -p build/tool
49 49
50 build/ucx: 50 build/ucx:
51 mkdir -p build/ucx 51 mkdir -p build/ucx
52 52
53 build/libidav: 53 build/libidav:
54 mkdir -p build/libidav 54 mkdir -p build/libidav
55 55
56 build/test:
57 mkdir -p build/test
58
56 ucx: FORCE 59 ucx: FORCE
57 cd ucx; $(MAKE) CONF=$(CONF) all 60 cd ucx; $(MAKE) CONF=$(CONF) all
58 61
59 libidav: FORCE 62 libidav: FORCE
60 cd libidav; $(MAKE) CONF=$(CONF) all 63 cd libidav; $(MAKE) CONF=$(CONF) all
61 64
62 dav: FORCE libidav ucx 65 dav: FORCE libidav ucx
63 cd dav; $(MAKE) CONF=$(CONF) all 66 cd dav; $(MAKE) CONF=$(CONF) all
67
68 test: FORCE dav
69 cd test; $(MAKE) CONF=$(CONF) all
64 70
65 run: FORCE dav 71 run: FORCE dav
66 ./build/dav$(APP_EXT) 72 ./build/dav$(APP_EXT)
67 73
68 clean: FORCE 74 clean: FORCE

mercurial