summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorhpa <hpa>1999-09-06 03:26:26 +0000
committerhpa <hpa>1999-09-06 03:26:26 +0000
commit74d9eb1782a62e84ae50bc7804d399d823203e49 (patch)
treeedecfae07205f2bf3e370e2ecd54a6977e76a733 /Makefile
parent87bab38fdcb4ecef4cf1b37cd2ad9f77e234e0c6 (diff)
downloadsyslinux-74d9eb1782a62e84ae50bc7804d399d823203e49.tar.gz
Beginnings of a PXE network boot loader (PXELINUX).
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile11
1 files changed, 7 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index 66b831c5..64940192 100644
--- a/Makefile
+++ b/Makefile
@@ -33,7 +33,7 @@ VERSION = $(shell cat version)
# want to recompile the installers (ITARGET).
#
SOURCES = ldlinux.asm syslinux.asm syslinux.c copybs.asm
-BTARGET = bootsect.bin ldlinux.sys ldlinux.bin ldlinux.lst
+BTARGET = bootsect.bin ldlinux.sys ldlinux.bin ldlinux.lst pxelinux.bin
ITARGET = syslinux.com syslinux copybs.com
DOCS = COPYING NEWS README TODO *.doc
OTHER = Makefile bin2c.pl now.pl genstupid.pl keytab-lilo.pl version \
@@ -59,6 +59,9 @@ ldlinux.bin: ldlinux.asm
$(NASM) -f bin -dVERSION="'$(VERSION)'" -dDATE_STR="'$(DATE)'" -dHEXDATE="$(HEXDATE)" -l ldlinux.lst -o ldlinux.bin ldlinux.asm
perl genstupid.pl < ldlinux.lst
+pxelinux.bin: pxelinux.asm
+ $(NASM) -f bin -dVERSION="'$(VERSION)'" -dDATE_STR="'$(DATE)'" -dHEXDATE="$(HEXDATE)" -l pxelinux.lst -o pxelinux.bin pxelinux.asm
+
bootsect.bin: ldlinux.bin
dd if=ldlinux.bin of=bootsect.bin bs=512 count=1
@@ -101,12 +104,12 @@ tidy:
clean: tidy
rm -f $(ITARGET)
-spotless: clean
- rm -f $(BTARGET)
-
dist: tidy
rm -f *~ \#*
+spotless: clean dist
+ rm -f $(BTARGET)
+
#
# This should only be used by the maintainer to generate official binaries
# for release. Please do not "make official" and distribute the binaries,