X-Git-Url: https://git.auder.net/?p=cgds.git;a=blobdiff_plain;f=Makefile;h=640ed2e750c344c972fb34a4e62b86728abda1b8;hp=de9dd8188e378171c24b8253173bf52a4cc29736;hb=1ff641f9960fa6c6081817a5641afb22fad91dcd;hpb=71e16e325e3936549a5f3a140e6298fce333fd27 diff --git a/Makefile b/Makefile index de9dd81..640ed2e 100644 --- a/Makefile +++ b/Makefile @@ -22,9 +22,11 @@ install: cp src/obj/$(LIBRARY) $(INSTALL_PREFIX)/lib/ mkdir -p $(INSTALL_PREFIX)/include/cgds cp src/*.h $(INSTALL_PREFIX)/include/cgds/ + mv $(INSTALL_PREFIX)/include/cgds/cgds.h $(INSTALL_PREFIX)/include/ uninstall: rm -f ${INSTALL_PREFIX}/lib/${LIBRARY} + rm -f ${INSTALL_PREFIX}/include/cgds.h [[ -d ${INSTALL_PREFIX}/include/cgds ]] && rm -rf ${INSTALL_PREFIX}/include/cgds .PHONY: src test doc clean install uninstall