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