hdt: Fixing about menu & show hdt
[hdt-cyring.git] / libinstaller / Makefile
blobef3711dd7c5f08a817bfb7466df3c2f32c20260d
1 # _bin.c files required by both BTARGET and ITARGET installers
2 BINFILES = bootsect_bin.c ldlinux_bin.c \
3 extlinux_bss_bin.c extlinux_sys_bin.c \
4 mbr_bin.c gptmbr_bin.c
6 PERL = perl
8 all: $(BINFILES)
10 bootsect_bin.c: ../core/ldlinux.bss bin2c.pl
11 $(PERL) bin2c.pl syslinux_bootsect < $< > $@
13 ldlinux_bin.c: ../core/ldlinux.sys bin2c.pl
14 $(PERL) bin2c.pl syslinux_ldlinux < $< > $@
16 extlinux_bss_bin.c: ../core/extlinux.bss bin2c.pl
17 $(PERL) bin2c.pl extlinux_bootsect < $< > $@
19 extlinux_sys_bin.c: ../core/extlinux.sys bin2c.pl
20 $(PERL) bin2c.pl extlinux_image 512 < $< > $@
22 mbr_bin.c: ../mbr/mbr.bin bin2c.pl
23 $(PERL) bin2c.pl syslinux_mbr < $< > $@
25 gptmbr_bin.c: ../mbr/gptmbr.bin bin2c.pl
26 $(PERL) bin2c.pl syslinux_gptmbr < $< > $@
28 tidy:
29 rm -f $(BINFILES)
31 clean: tidy
33 dist: tidy
35 spotless: clean