summaryrefslogtreecommitdiff
path: root/GNUmakefile
diff options
context:
space:
mode:
authorJeffrey Walton <noloader@gmail.com>2015-06-30 22:41:47 -0400
committerJeffrey Walton <noloader@gmail.com>2015-06-30 22:41:47 -0400
commit99ed4c86dbccdafc1d1af73b2135aa7546905514 (patch)
tree4e42f54eccf78fa05fb6d809f8cfd4435c1bcf85 /GNUmakefile
parent91b0730c332c0c511fe13095af368c1fa267ca7f (diff)
downloadcryptopp-git-99ed4c86dbccdafc1d1af73b2135aa7546905514.tar.gz
Added PHONY targets for clean, install and remove
Diffstat (limited to 'GNUmakefile')
-rw-r--r--GNUmakefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/GNUmakefile b/GNUmakefile
index c87cf5f1..3defa685 100644
--- a/GNUmakefile
+++ b/GNUmakefile
@@ -157,10 +157,12 @@ dynamic: libcryptopp.so
test: cryptest.exe
./cryptest.exe v
+.PHONY: clean
clean:
-$(RM) cryptest.exe libcryptopp.a libcryptopp.so $(LIBOBJS) $(TESTOBJS) cryptopp.dll libcryptopp.dll.a libcryptopp.import.a cryptest.import.exe dlltest.exe $(DLLOBJS) $(LIBIMPORTOBJS) $(TESTI MPORTOBJS) $(DLLTESTOBJS)
-$(RM) -r cryptest.exe.dSYM
+.PHONY: install
install:
$(MKDIR) -p $(PREFIX)/include/cryptopp $(PREFIX)/lib $(PREFIX)/bin
-$(CP) *.h $(PREFIX)/include/cryptopp
@@ -168,6 +170,7 @@ install:
-$(CP) *.so $(PREFIX)/lib
-$(CP) *.exe $(PREFIX)/bin
+.PHONY: remove
remove:
-$(RM) -rf $(PREFIX)/include/cryptopp
-$(RM) $(PREFIX)/lib/libcryptopp.a