summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoseph Hunkeler <jhunkeler@gmail.com>2018-05-24 09:14:02 -0400
committerJoseph Hunkeler <jhunkeler@gmail.com>2018-05-24 09:14:02 -0400
commitc834c63d730d0b79860c00ec8566a073fdf23b12 (patch)
tree05aea9b3427710f2e340b5054a1b4d7c93fa632c
parente004fa5f7c31318019bff6c323a4aa59bcc6c18f (diff)
downloadminos-c834c63d730d0b79860c00ec8566a073fdf23b12.tar.gz
* Generate listing
* Break up clean
-rw-r--r--Makefile12
1 files changed, 7 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index 81b3b2f..2711cfa 100644
--- a/Makefile
+++ b/Makefile
@@ -6,14 +6,16 @@ system.img: boot.bin kernel.bin
cat $^ > $@
boot.bin: boot.asm
- nasm -f bin -o $@ $<
+ nasm -f bin -l $@.lst -o $@ $<
kernel.bin: kernel.asm
- nasm -f bin -o $@ $<
+ nasm -f bin -l $@.lst -o $@ $<
run: system.img
- $(QEMU) -d guest_errors -m 16 -fda $<
+ $(QEMU) -d guest_errors -m 16 -hda $<
-clean:
- rm *.bin *.img
.PHONY: clean
+clean:
+ rm *.bin
+ rm *.img
+ rm *.lst