aboutsummaryrefslogtreecommitdiffstats
path: root/dos/Makefile
diff options
context:
space:
mode:
authorhpa <hpa>2004-12-15 10:51:18 +0000
committerhpa <hpa>2004-12-15 10:51:18 +0000
commit95deb2509c3f9916527044751ca1221fa62f3b26 (patch)
tree85ed778448692354b23a858af689ce4ff5691187 /dos/Makefile
parent907b549d585c74537b300c188b00d3a56d36cc7f (diff)
downloadsyslinux.git-95deb2509c3f9916527044751ca1221fa62f3b26.tar.gz
syslinux.git-95deb2509c3f9916527044751ca1221fa62f3b26.tar.xz
syslinux.git-95deb2509c3f9916527044751ca1221fa62f3b26.zip
More adjustment to the Brave New World<TM>
Diffstat (limited to 'dos/Makefile')
-rw-r--r--dos/Makefile31
1 files changed, 31 insertions, 0 deletions
diff --git a/dos/Makefile b/dos/Makefile
new file mode 100644
index 00000000..5319daf2
--- /dev/null
+++ b/dos/Makefile
@@ -0,0 +1,31 @@
+CC = gcc
+OPTFLAGS = -g -Os
+INCLUDES = -I./ -I../ -I../libfat/
+CFLAGS = -W -Wall $(OPTFLAGS) $(INCLUDES)
+LDFLAGS = -s
+NASM = nasm
+
+SRCS =
+OBJS =
+
+.SUFFIXES: .c .o .i .s .S .asm .bin .lst .com
+
+VPATH = .:..:../libfat
+
+all: syslinux.com
+
+tidy:
+ -rm -f *.o *.i *.s *.a .*.d *.lst
+
+clean: tidy
+ -rm -f syslinux.com
+
+spotless: clean
+ -rm -f *~
+
+installer:
+
+syslinux.com: syslinux.asm ../ldlinux.bss ../ldlinux.sys
+
+.asm.com:
+ $(NASM) $(INCLUDES) -f bin -o $@ -l $*.lst $<