2 INSTALL_PREFIX = /usr/local
7 cd src && $(MAKE) && cd ..
10 cd test && ./makeMain.sh && $(MAKE) && cd ..
13 cd doc && $(MAKE) && cd ..
16 cd src && $(MAKE) clean && cd ..
17 cd test && $(MAKE) clean && cd ..
18 cd doc && $(MAKE) clean && cd ..
21 mkdir -p $(INSTALL_PREFIX)/lib/
22 cp src/obj/$(LIBRARY) $(INSTALL_PREFIX)/lib/
23 mkdir -p $(INSTALL_PREFIX)/include/cgds
24 cp src/*.h $(INSTALL_PREFIX)/include/cgds/
27 rm -f ${INSTALL_PREFIX}/lib/${LIBRARY}
28 [[ -d ${INSTALL_PREFIX}/include/cgds ]] && rm -rf ${INSTALL_PREFIX}/include/cgds
30 .PHONY: src test doc clean install uninstall