/ Published in: Makefile

ICL - Windows ICon Library
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
.PHONY: icl .SUFFIXES: .icl .ico .rc .res . ##----------------------------- ## ICL - ICon Library rules ##----------------------------- icl: (notdir $(CURDIR)).icl %.icl: %.res gcc -mwindows -s -shared -nostartfiles -o $@ $^ %.res: %.rc windres -O coff -o $@ -i $< %.rc: $(wildcard *.ico) ls -1 $^ | sed -e 's/\(.\+\).ico/"\1" ICON "&"/' > $@
Comments
