aboutsummaryrefslogtreecommitdiffstats
path: root/utils/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'utils/Makefile')
-rw-r--r--utils/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/utils/Makefile b/utils/Makefile
index 179d5da6..7670bef6 100644
--- a/utils/Makefile
+++ b/utils/Makefile
@@ -23,6 +23,8 @@ LDFLAGS = -O2 -s
TARGETS = mkdiskimage isohybrid gethostip
ASIS = keytab-lilo lss16toppm md5pass ppmtolss16 sha1pass syslinux2ansi
+ISOHDPFX = ../mbr/isohdpfx.bin ../mbr/isohdpfx_f.bin ../mbr/isohdpfx_c.bin
+
all: $(TARGETS)
%.o: %.c
@@ -32,8 +34,9 @@ mkdiskimage: mkdiskimage.in ../mbr/mbr.bin bin2hex.pl
$(PERL) bin2hex.pl < ../mbr/mbr.bin | cat mkdiskimage.in - > $@
chmod a+x $@
-isohybrid: isohybrid.in ../mbr/isohdpfx.bin bin2hex.pl
- $(PERL) bin2hex.pl < ../mbr/isohdpfx.bin | cat isohybrid.in - > $@
+isohybrid: isohybrid.in $(ISOHDPFX) bin2hex.pl
+ cp -f isohybrid.in $@
+ for f in $(ISOHDPFX) ; do $(PERL) bin2hex.pl < $$f >> $@ ; done
chmod a+x $@
gethostip: gethostip.o