]> git.cryptolib.org Git - avr-crypto-lib.git/blobdiff - Makefile
insereated GPLv3 stub
[avr-crypto-lib.git] / Makefile
index c5460d793f6d68af80e948a679cf151a4da50bb7..09457bec100e72b4547c7a8b9fa95e8e7f118c80 100644 (file)
--- 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
+