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
|
*.elf
|
||||||
*.bin
|
*.bin
|
||||||
*.h
|
usetable.h
|
||||||
loadable.ld
|
loadable.ld
|
||||||
|
|
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue