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 *.elf
*.bin *.bin
*.h usetable.h
loadable.ld loadable.ld

View File

@ -42,7 +42,7 @@ $(LDFILE):
$(OBJCOPY) $(OCFLAGS) -O binary $< $@ $(OBJCOPY) $(OCFLAGS) -O binary $< $@
clean: clean:
rm -f *.o *.elf *.bin rm -f *.o *.elf *.bin usetable.h
IDIR=/cygdrive/f IDIR=/cygdrive/f
install: install:
@ -50,6 +50,9 @@ install:
$(OBJS): usetable.h $(OBJS): usetable.h
usetable.h:
./mktable.pl
.SUFFIXES: .SUFFIXES:
.PHONY: $(LDFILE) .PHONY: $(LDFILE)