summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornoloader <noloader@57ff6487-cd31-0410-9ec3-f628ee90f5f0>2015-07-01 02:30:38 +0000
committernoloader <noloader@57ff6487-cd31-0410-9ec3-f628ee90f5f0>2015-07-01 02:30:38 +0000
commitb64fbd0bc3541e3b110da6ca80dfb38edb830a1e (patch)
treec51670f07494ddd213d058d8f2148607c58fa0ec
parenteaeb73e7aab3642f19cdb697a0b62e0b26a409c9 (diff)
downloadcryptopp-b64fbd0bc3541e3b110da6ca80dfb38edb830a1e.tar.gz
Added PHONY targets for clean, install and remove
git-svn-id: svn://svn.code.sf.net/p/cryptopp/code/trunk/c5@562 57ff6487-cd31-0410-9ec3-f628ee90f5f0
-rw-r--r--GNUmakefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/GNUmakefile b/GNUmakefile
index c87cf5f..3defa68 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