Generate deps for the asm file

pull/16/head
Hamish Coleman 7 years ago
parent b8897ace9a
commit c54bf59a04

@ -2,10 +2,17 @@
all:
false
DEPSDIR := .d
$(shell mkdir -p $(DEPSDIR))
x230.G2HT35WW.img: ../x230.G2HT35WW.img
cp $< $@
ec.img: ec.asm x230.G2HT35WW.img
-include $(DEPSDIR)/ec.img.deps
$(DEPSDIR)/ec.img.deps: Makefile
nasm -MT ec.img -M ec.asm >$@
%.img: %.asm
nasm -f bin -o $@ $<
diff: ec.img x230.G2HT35WW.img

Loading…
Cancel
Save