multi-CPU machine can speed up the icon build using `make -j' and
not have it break.
git-svn-id: svn://svn.tartarus.org/sgt/puzzles@7106
cda61777-01e9-0310-a592-
d414129be87e
# that on most modern Windows machines this won't matter too
# much...)
$(P48D4): %-48d4.png: %-ibase4.png
# that on most modern Windows machines this won't matter too
# much...)
$(P48D4): %-48d4.png: %-ibase4.png
- $(PIC)square.pl 48 1 $^ tmp2.png
- convert -colors 16 -map $(PIC)win16pal.xpm tmp2.png $@
- rm -f tmp.png tmp2.png
+ $(PIC)square.pl 48 1 $^ $@-tmp2.png
+ convert -colors 16 -map $(PIC)win16pal.xpm $@-tmp2.png $@
+ rm -f $@-tmp2.png
$(P32D4): %-32d4.png: %-ibase.png
$(P32D4): %-32d4.png: %-ibase.png
- $(PIC)square.pl 32 1 $^ tmp2.png
- convert -colors 16 -map $(PIC)win16pal.xpm tmp2.png $@
- rm -f tmp.png tmp2.png
+ $(PIC)square.pl 32 1 $^ $@-tmp2.png
+ convert -colors 16 -map $(PIC)win16pal.xpm $@-tmp2.png $@
+ rm -f $@-tmp2.png
$(P16D4): %-16d4.png: %-ibase.png
$(P16D4): %-16d4.png: %-ibase.png
- $(PIC)square.pl 16 1 $^ tmp2.png
- convert -colors 16 -map $(PIC)win16pal.xpm tmp2.png $@
- rm -f tmp.png tmp2.png
+ $(PIC)square.pl 16 1 $^ $@-tmp2.png
+ convert -colors 16 -map $(PIC)win16pal.xpm $@-tmp2.png $@
+ rm -f $@-tmp2.png
# Build the actual Windows icons themselves, by feeding all those
# PNGs to my icon builder script.
# Build the actual Windows icons themselves, by feeding all those
# PNGs to my icon builder script.