X-Git-Url: https://git.cryptolib.org/?a=blobdiff_plain;f=Makefile;h=53d2a397c25727eccee1e8ad1ec93c21dbf26b4b;hb=89bbbf7604fa48ddba5877263220791045b6ee6f;hp=59a097b5b5d8c9e9381bce1d5c3502845026b697;hpb=b8d6b2bd3ddea45506f584c7d44fe5fff0557ed1;p=avr-crypto-lib.git diff --git a/Makefile b/Makefile index 59a097b..53d2a39 100644 --- a/Makefile +++ b/Makefile @@ -94,7 +94,7 @@ $(foreach a, $(ALGORITHMS), \ $(BIN_DIR)$(call lc, $(a))/$(b), \ $(call find_source_file, $(b), $($(a)_DIR) $($(a)_INCDIR) $(GLOBAL_INCDIR) ),\ $($(a)_DIR) $($(a)_INCDIR) $(GLOBAL_INCDIR), \ - $($(a)_DEFINES), \ + $($(a)_DEF), \ )) \ ) \ ) @@ -105,7 +105,7 @@ $(foreach a, $(ALGORITHMS), \ $(BIN_DIR)$(call lc, $(a))/$(TEST_DIR)$(b), \ $(call find_source_file, $(b), $($(a)_DIR) $($(a)_INCDIR) $(GLOBAL_INCDIR) ),\ $($(a)_DIR) $($(a)_INCDIR) $(GLOBAL_INCDIR), \ - $($(a)_DEFINES) \ + $($(a)_DEF) \ )) \ ) \ ) @@ -136,7 +136,7 @@ all: $(foreach algo, $(ALGORITHMS), $($(algo)_BINOBJ)) #------------------------------------------------------------------------------- define TestBin_TEMPLATE -$(1)_TEST_BIN: $(2) +$(1)_TESTBIN: $(2) endef $(foreach algo, $(ALGORITHMS), $(eval $(call TestBin_TEMPLATE, \ @@ -231,6 +231,10 @@ $(foreach algo, $(ALGORITHMS), \ .PHONY: all all: cores +.PHONY: reset +reset: + $(RESETCMD) + .PHONY: cores cores: $(foreach algo, $(ALGORITHMS), $(algo)_OBJ) @@ -301,7 +305,7 @@ info: @echo " docu - build doxygen documentation" @echo " clean - remove a lot of builded files" @echo " depclean - also remove dependency files" - @echo " *_TEST_BIN - build test program" + @echo " *_TESTBIN - build test program" @echo " *_TESTRUN - run nessie test" @echo " *_OBJ - build algorithm core" @echo " *_FLASH - flash test program"