summaryrefslogtreecommitdiff
path: root/boot0/Makefile
diff options
context:
space:
mode:
authorScott Gasch <[email protected]>2016-06-01 19:37:09 -0700
committerScott Gasch <[email protected]>2016-06-01 19:37:09 -0700
commit0a41dae5f406d498b5c9ab1542cb5660e0d982f6 (patch)
tree67ade9fe31cfd0458cc485e95550f7aaf14abdd1 /boot0/Makefile
Initial checkin of toy OS project.HEADmaster
Diffstat (limited to 'boot0/Makefile')
-rwxr-xr-xboot0/Makefile9
1 files changed, 9 insertions, 0 deletions
diff --git a/boot0/Makefile b/boot0/Makefile
new file mode 100755
index 0000000..162c810
--- /dev/null
+++ b/boot0/Makefile
@@ -0,0 +1,9 @@
+RM = /bin/rm
+TARGET = boot0.bin
+SOURCES = boot0.asm
+
+all: $(SOURCES)
+ nasm -f bin -o $(TARGET) $(SOURCES) ; \
+ mformat -f 1440 -B boot0.bin Q:
+clean:
+ $(RM) -f *.log *.core *~ *.gmon \#*\# $(TARGET)