Improve makefile, version code, and document

This commit is contained in:
Chord 2016-07-25 00:57:28 -04:00
parent 0d7703cf99
commit b068e6a7bd
6 changed files with 306 additions and 68 deletions

View file

@ -1,6 +1,12 @@
include Makefile.inc
$(info === Build configuration ===)
$(info Archtecture: $(ARCH))
$(info Operating system: $(OS))
CRYPTOPP_DIR=external/psf-cryptopp
CRYPTOPP_LIB=$(CRYPTOPP_DIR)/libcryptopp.a
PSCRYPTO=pscrypto/pscrypto.dll
PSCRYPTO=pscrypto/$(call lib-name,pscrypto)
all : $(CRYPTOPP_LIB) $(PSCRYPTO)
@ -13,3 +19,5 @@ $(PSCRYPTO) : $(CRYPTOPP_LIB)
clean :
$(MAKE) -C pscrypto/ clean
$(MAKE) -C $(CRYPTOPP_DIR) clean
.PHONY : all clean