summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorhpa <hpa>1998-02-03 22:31:20 +0000
committerhpa <hpa>1998-02-03 22:31:20 +0000
commit44e58cf1d1eb66f48a17f8091ef1b5f3e05f6210 (patch)
tree67aaf666f88c5daf38b6e20b18262f7b70bc10f7 /Makefile
parent7d6a511347816ff544f8718d4718820012a6cafc (diff)
downloadsyslinux-44e58cf1d1eb66f48a17f8091ef1b5f3e05f6210.tar.gz
Bug fixes. Looks like the bloody thing works now.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index 3240729d..a8aecaa2 100644
--- a/Makefile
+++ b/Makefile
@@ -25,22 +25,22 @@ BINDIR = /usr/bin
.c.o:
$(CC) $(CFLAGS) -c $<
-all: bootsect.bin ldlinux.sys syslinux.com syslinux
+TARGETS=bootsect.bin ldlinux.sys syslinux.com syslinux
+
+all: $(TARGETS)
+ ls -l $(TARGETS)
ldlinux.bin: ldlinux.asm
$(NASM) -f bin -dHEX_TIME="`perl now.pl`" -l ldlinux.lst -o ldlinux.bin ldlinux.asm
- ls -l ldlinux.bin
bootsect.bin: ldlinux.bin
dd if=ldlinux.bin of=bootsect.bin bs=512 count=1
ldlinux.sys: ldlinux.bin
dd if=ldlinux.bin of=ldlinux.sys bs=512 skip=1
- ls -l ldlinux.sys
syslinux.com: syslinux.asm bootsect.bin ldlinux.sys
$(NASM) -f bin -l syslinux.lst -o syslinux.com syslinux.asm
- ls -l syslinux.com
bootsect_bin.c: bootsect.bin bin2c.pl
perl bin2c.pl bootsect < bootsect.bin > bootsect_bin.c