SCRIPTS = $(CURDIR)/ipfireboot.gpxe TARGETS = bin/gpxe.iso bin/gpxe.kpxe bin/undionly.kpxe bin/gpxe.dsk \ bin/gpxe.usb bin/gpxe.lkrn all: $(TARGETS) clean: rm -rfv $(TARGETS) make -C gpxe/src clean $(TARGETS): # Copy our configuration to the gPXE submodule cp -uvf config/* gpxe/src/config/local/ # Build the image make -C gpxe/src EMBEDDED_IMAGE=$(SCRIPTS) $@ # Copy the image to bin/ -mkdir -pv $$(dirname $@) cp -vf gpxe/src/$@ $@