b1c441ff73
* Sane C/CXX/CPP/LDFLAGS * --with/--without settings * Proper gettext support * System portability changes (to support OS X and all other unix-like osen) * Features to allow for proper compile time settings (support exists features need to be added) This comes with no warrenty at the moment, auto3 and asa support are both incomplete/non-existent, there is no documentation and some conftests still nee$ to be written. It's still incomplete try it at your own risk! Originally committed to SVN as r1865.
24 lines
484 B
Awk
24 lines
484 B
Awk
/BITMAP/ {
|
|
gsub(/\"bitmaps\//, "", $3)
|
|
gsub(/\"/, "", $3)
|
|
image[$1] = $3
|
|
}
|
|
|
|
END {
|
|
printf(" \
|
|
all: bmp2xpm wxicon_xpm.xpm \
|
|
.PHONY: all bmp2xpm \
|
|
CONVERT ?= convert \
|
|
")
|
|
|
|
printf("wxicon_xpm.xpm: icon.ico\n $(CONVERT) 'icon.ico[2]' wxicon_xpm.xpm\n");
|
|
|
|
for (v in image) {
|
|
printf("%s_xpm.xpm: %s\n", v, image[v])
|
|
printf(" $(CONVERT) -transparent \"#c0c0c0\" %s %s_xpm.xpm\n\n", image[v], v)
|
|
}
|
|
|
|
printf("bmp2xpm:")
|
|
for (v in image)
|
|
printf(" %s_xpm.xpm", v)
|
|
}
|