summaryrefslogtreecommitdiff
path: root/boot1/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'boot1/Makefile')
-rwxr-xr-xboot1/Makefile14
1 files changed, 14 insertions, 0 deletions
diff --git a/boot1/Makefile b/boot1/Makefile
new file mode 100755
index 0000000..5606866
--- /dev/null
+++ b/boot1/Makefile
@@ -0,0 +1,14 @@
+NASM= nasm
+NASMFLAGS= -f bin -i../inc
+RM= /bin/rm
+TARGET= boot.com
+SOURCES= boot1.asm
+SUPPORT= video.asm hardware.asm
+
+all: $(SOURCES) $(SUPPORT)
+ $(NASM) $(NASMFLAGS) $(SOURCES) -o $(TARGET) ; \
+ mcopy -o $(TARGET) Q:\
+
+clean:
+ $(RM) -f *.log *.core *~ *.gmon \#*\# $(TARGET) ; \
+ mdel Q:\$(TARGET)