fix make clean, and run mktable if usetable.h is missing
This commit is contained in:
parent
d8371af9ab
commit
55d15269c5
|
@ -1,4 +1,4 @@
|
|||
*.elf
|
||||
*.bin
|
||||
*.h
|
||||
usetable.h
|
||||
loadable.ld
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue