summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorhpa <hpa>2005-01-05 01:01:29 +0000
committerhpa <hpa>2005-01-05 01:01:29 +0000
commit80717f76b561e490cf862c87be2e3ef1e5596b37 (patch)
treed5b7b3359e765ea6c2647962c5270034df29f65b /Makefile
parent76508a9bc942a693dc8ac773fc471501580d7bbf (diff)
downloadsyslinux-80717f76b561e490cf862c87be2e3ef1e5596b37.tar.gz
Allow the user to override the extlinux detected geometry; add online help
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 5f5c35ec..f6927c0f 100644
--- a/Makefile
+++ b/Makefile
@@ -59,7 +59,8 @@ BINFILES = bootsect_bin.c ldlinux_bin.c mbr_bin.c \
# syslinux.exe is BTARGET so as to not require everyone to have the
# mingw suite installed
-BTARGET = kwdhash.gen version.gen ldlinux.bss ldlinux.sys ldlinux.bin \
+BTARGET = kwdhash.gen version.gen version.h \
+ ldlinux.bss ldlinux.sys ldlinux.bin \
pxelinux.0 mbr.bin isolinux.bin isolinux-debug.bin \
extlinux.bin extlinux.bss extlinux.sys
BOBJECTS = $(BTARGET) dos/syslinux.com win32/syslinux.exe memdisk/memdisk
@@ -113,7 +114,10 @@ installer: installer-local
installer-local: $(ITARGET) $(BINFILES)
version.gen: version version.pl
- $(PERL) version.pl version
+ $(PERL) version.pl $< $@ '%define'
+
+version.h: version version.pl
+ $(PERL) version.pl $< $@ '#define'
kwdhash.gen: keywords genhash.pl
$(PERL) genhash.pl < keywords > kwdhash.gen