fix make clean, and run mktable if usetable.h is missing

This commit is contained in:
Stefan `Sec` Zehl 2011-08-04 11:07:32 +02:00
parent d8371af9ab
commit 55d15269c5
2 changed files with 5 additions and 2 deletions

View File

@ -1,4 +1,4 @@
*.elf
*.bin
*.h
usetable.h
loadable.ld

View File

@ -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)