Automatically track dependencies
This commit is contained in:
parent
ae90faf4d6
commit
68cd3c8821
3 changed files with 6 additions and 1 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -1,2 +1,3 @@
|
|||
*.bin
|
||||
*.img
|
||||
*.d
|
||||
|
|
5
Makefile
5
Makefile
|
@ -11,11 +11,14 @@ nor86.img: bootsector.bin kernel.bin
|
|||
|
||||
.asm.bin:
|
||||
nasm -fbin -o $@ $<
|
||||
nasm -MD $@.d -fbin -o $@ $<
|
||||
|
||||
clean:
|
||||
rm -f *.bin *.img
|
||||
rm -f *.bin *.img *.bin.d
|
||||
|
||||
run: nor86.img
|
||||
qemu-system-i386 -fda $<
|
||||
|
||||
.PHONY: all clean run
|
||||
|
||||
include *.d
|
||||
|
|
1
empty.d
Normal file
1
empty.d
Normal file
|
@ -0,0 +1 @@
|
|||
# This file is needed so that initial make invocation will work
|
Loading…
Add table
Add a link
Reference in a new issue