Rebuild image when files change, and monitor config.s
This commit is contained in:
parent
f097ee739b
commit
5efa40dc9b
5
Makefile
5
Makefile
|
@ -1,6 +1,7 @@
|
|||
TARGET = foxdos
|
||||
|
||||
FILES = src/int21.s \
|
||||
FILES = config.s \
|
||||
src/int21.s \
|
||||
src/kernel.s
|
||||
|
||||
.PHONY: all qemu clean
|
||||
|
@ -17,7 +18,7 @@ obj/kernel.o: $(FILES)
|
|||
@mkdir -p obj
|
||||
nasm -I. -Isrc src/kernel.s -o obj/kernel.o
|
||||
|
||||
$(TARGET):
|
||||
$(TARGET): src/boot.s $(FILES)
|
||||
cat obj/boot.o obj/kernel.o > $(TARGET)
|
||||
|
||||
clean:
|
||||
|
|
Loading…
Reference in New Issue