LOGO := ../../../LOGO ifeq ($(style),) style = white endif all: bootsplash clean: rm -f bootsplash splash $(MAKE) -C src/bootsplash/Utilities $(@) bootsplash: splash bootsplash_$(style).cfg $(LOGO)/silent.jpg $(LOGO)/verbose.jpg echo "Boot splash: $(style)" ./splash -s -f bootsplash_$(style).cfg > bootsplash .PHONY: src/bootsplash/Utilities/splash $(LOGO)/%.jpg: $(MAKE) -C $(@D) splash: src/bootsplash/Utilities/splash ln -fs $^ $@ src/bootsplash/Utilities/splash: $(MAKE) -C $(@D) $(@F)