1234567891011121314151617181920212223242526272829303132333435363738 |
- ##
- # icons Makefile fragment
- ##
- .PHONY: icons_clean
- .SUFFIXES: .rc
- icons_src = contrib/icons
- icons_obj = contrib/icons/.build
- icons = ${icons_obj}/icons.o
- icons_objs = ${icons_obj}/quantump.o
- ifneq (${V},1)
- WINDRES := @${WINDRES}
- endif
- ${icons_obj}/%.o: ${icons_src}/%.rc
- $(if ${V},,@echo " WINDRES " $<)
- ${WINDRES} -i $< -o $@
- ifeq (${EMBED_ICONS},1)
- ${icons}: ${icons_obj} ${icons_objs}
- $(if ${V},,@echo " CP " ${icons_objs} ${icons})
- ${CP} ${icons_objs} ${icons}
- else
- ${icons}:
- @echo "--> Embedding of icon branding disabled."
- endif
- ${icons_objs}: $(filter-out $(wildcard ${icons_obj}), ${icons_obj})
- icons_clean:
- $(if ${V},,@echo " RM " ${icons_obj})
- ${RM} -r ${icons_obj}
|