X-Git-Url: https://git.cryptolib.org/?a=blobdiff_plain;f=Makefile;h=09457bec100e72b4547c7a8b9fa95e8e7f118c80;hb=96ebafd201c9e8441c7677577b24aa402c1defc6;hp=c5460d793f6d68af80e948a679cf151a4da50bb7;hpb=cdcf3abb345577e07bdce0623c947e2737b84085;p=avr-crypto-lib.git diff --git a/Makefile b/Makefile index c5460d7..09457be 100644 --- a/Makefile +++ b/Makefile @@ -161,6 +161,8 @@ all: $(foreach algo, $(ALGORITHMS), $(algo)_OBJ) clean: rm -rf *.o *.elf *.eps *.png *.pdf *.bak *_size.txt rm -rf *.lst *.map $(EXTRA_CLEAN_FILES) $(SIZESTAT_FILE) +xclean: clean + rm -rf *.d flash: $(ERASECMD) @@ -227,3 +229,10 @@ pdf: $(PRG).pdf %.png: %.fig $(FIG2DEV) -L png $< $@ + + +DEPS := $(wildcard *.d) +ifneq ($(DEPS),) +include $(DEPS) +endif +