From 55d15269c55d71caba59356814473f3414443a86 Mon Sep 17 00:00:00 2001 From: Stefan `Sec` Zehl Date: Thu, 4 Aug 2011 11:07:32 +0200 Subject: [PATCH] fix make clean, and run mktable if usetable.h is missing --- firmware/l0dable/.gitignore | 2 +- firmware/l0dable/Makefile | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/firmware/l0dable/.gitignore b/firmware/l0dable/.gitignore index 7652361..ca79c34 100644 --- a/firmware/l0dable/.gitignore +++ b/firmware/l0dable/.gitignore @@ -1,4 +1,4 @@ *.elf *.bin -*.h +usetable.h loadable.ld diff --git a/firmware/l0dable/Makefile b/firmware/l0dable/Makefile index f4f6714..8da03dc 100644 --- a/firmware/l0dable/Makefile +++ b/firmware/l0dable/Makefile @@ -42,7 +42,7 @@ $(LDFILE): $(OBJCOPY) $(OCFLAGS) -O binary $< $@ clean: - rm -f *.o *.elf *.bin + rm -f *.o *.elf *.bin usetable.h IDIR=/cygdrive/f install: @@ -50,6 +50,9 @@ install: $(OBJS): usetable.h +usetable.h: + ./mktable.pl + .SUFFIXES: .PHONY: $(LDFILE)