Makefile

changeset 239
56f91e0de57b
parent 185
cd42cccee550
child 240
220ea6247077
equal deleted inserted replaced
238:b167226fb804 239:56f91e0de57b
34 # mingw 34 # mingw
35 # osx 35 # osx
36 # 36 #
37 37
38 CONF=gcc 38 CONF=gcc
39 PREFIX=/usr
40 DESTDIR=$(PREFIX)
39 41
40 include $(CONF).mk 42 include $(CONF).mk
41 43
42 all: build/tool build/ucx build/libidav ucx libidav dav 44 all: build/tool build/ucx build/libidav ucx libidav dav
43 45
63 ./build/dav$(APP_EXT) 65 ./build/dav$(APP_EXT)
64 66
65 clean: FORCE 67 clean: FORCE
66 $(RM) $(RMFLAGS) -R build/ 68 $(RM) $(RMFLAGS) -R build/
67 69
70 install:
71 @echo "install to $(DESTDIR)"
72 ./install-sh -d $(DESTDIR)/bin
73 ./install-sh build/dav $(DESTDIR)/bin
74 ./install-sh build/dav-sync $(DESTDIR)/bin
75
68 FORCE: 76 FORCE:
69 77

mercurial