- for file in *_pixmap.h ; do echo "#include \"$$file\"" >> $@ ; done
-
-%_pixmap.h: %.png
- gdk-pixbuf-csource --name="`basename $< .png`_pixbuf" --struct --extern $< > $@
- cat $@ | sed -e 's/\(pixel_data: ..\)/\1 (unsigned char \*)/' > temp$@.h
- mv temp$@.h $@