Add memtest support.
[syslinux-debian/hramrach.git] / libinstaller / Makefile
blob48a8fd3a43ee8c55d30740ebf5240a1e5259168e
1 # _bin.c files required by both BTARGET and ITARGET installers
2 BINFILES = bootsect_bin.c ldlinux_bin.c \
3 mbr_bin.c gptmbr_bin.c ldlinuxc32_bin.c
5 PERL = perl
7 VPATH = $(SRC)
9 all: installer
11 bootsect_bin.c: $(OBJ)/../core/ldlinux.bss bin2c.pl
12 $(PERL) $(SRC)/bin2c.pl syslinux_bootsect < $< > $@
14 ldlinux_bin.c: $(OBJ)/../core/ldlinux.sys bin2c.pl
15 $(PERL) $(SRC)/bin2c.pl syslinux_ldlinux 512 < $< > $@
17 mbr_bin.c: $(OBJ)/../mbr/mbr.bin bin2c.pl
18 $(PERL) $(SRC)/bin2c.pl syslinux_mbr < $< > $@
20 gptmbr_bin.c: $(OBJ)/../mbr/gptmbr.bin bin2c.pl
21 $(PERL) $(SRC)/bin2c.pl syslinux_gptmbr < $< > $@
23 installer: $(BINFILES)
25 ldlinuxc32_bin.c: $(OBJ)/../com32/elflink/ldlinux/ldlinux.c32 bin2c.pl
26 $(PERL) $(SRC)/bin2c.pl syslinux_ldlinuxc32 < $< > $@
28 tidy:
29 rm -f $(BINFILES)
31 clean: tidy
33 dist: tidy
35 spotless: clean
37 strip: