Posted By

mitry on 03/25/10


Tagged

icon Makefile icl


Versions (?)

Makefile for ICL


 / Published in: Makefile
 

ICL - Windows ICon Library

  1. .PHONY: icl
  2. .SUFFIXES: .icl .ico .rc .res .
  3.  
  4. ##-----------------------------
  5. ## ICL - ICon Library rules
  6. ##-----------------------------
  7.  
  8. icl: (notdir $(CURDIR)).icl
  9.  
  10. %.icl: %.res
  11. gcc -mwindows -s -shared -nostartfiles -o $@ $^
  12.  
  13. %.res: %.rc
  14. windres -O coff -o $@ -i $<
  15.  
  16. %.rc: $(wildcard *.ico)
  17. ls -1 $^ | sed -e 's/\(.\+\).ico/"\1" ICON "&"/' > $@

Report this snippet  

You need to login to post a comment.