Makefile

changeset 156
6a4bd1f4c57e
parent 155
45395ba5ed30
child 157
ae7cc5716f38
equal deleted inserted replaced
155:45395ba5ed30 156:6a4bd1f4c57e
29 29
30 # 30 #
31 # available configurations: 31 # available configurations:
32 # clang 32 # clang
33 # gcc 33 # gcc
34 # g++
35 # osx 34 # osx
36 # suncc 35 # suncc
37 # windows
38 # 36 #
39 37
40 CONF=gcc 38 CONF=gcc
41 PREFIX=/usr/local 39 PREFIX=/usr/local
42 40
64 62
65 debug: ucx-debug test-debug 63 debug: ucx-debug test-debug
66 64
67 install: ucx $(PREFIX)/lib $(PREFIX)/include/ucx 65 install: ucx $(PREFIX)/lib $(PREFIX)/include/ucx
68 cp ./build/release/libucx$(LIB_EXT) $(PREFIX)/lib && \ 66 cp ./build/release/libucx$(LIB_EXT) $(PREFIX)/lib && \
67 cp ./build/release/libucx$(SO_EXT) $(PREFIX)/lib && \
69 cp ./ucx/*.h $(PREFIX)/include/ucx 68 cp ./ucx/*.h $(PREFIX)/include/ucx
70 69
71 uninstall: 70 uninstall:
72 $(RM) $(RMFLAGS) $(PREFIX)/include/ucx &&\ 71 $(RM) $(RMFLAGS) $(PREFIX)/include/ucx &&\
73 $(RM) $(RMFLAGS) $(PREFIX)/lib/libucx$(LIB_EXT) 72 $(RM) $(RMFLAGS) $(PREFIX)/lib/libucx$(LIB_EXT) &&\
73 $(RM) $(RMFLAGS) $(PREFIX)/lib/libucx$(SO_EXT)
74 74
75 $(PREFIX)/lib: 75 $(PREFIX)/lib:
76 mkdir -p $(PREFIX)/lib 76 mkdir -p $(PREFIX)/lib
77 77
78 $(PREFIX)/include/ucx: 78 $(PREFIX)/include/ucx:

mercurial