It never ceases to amaze me how badly gawk can munge a perfectly compliant AWK

file, die gawk. die: It ate the line endings on lines wrapped using \ instead of
keeping the CR's it put everything on one line even though hard CR's were used.

Originally committed to SVN as r2012.
This commit is contained in:
Amar Takhar 2008-03-11 05:41:14 +00:00
parent 1e6956338f
commit 02abe1f0f8

View file

@ -6,9 +6,9 @@
END { END {
printf(" \ printf(" \
all: bmp2xpm wxicon_xpm.xpm \ all: bmp2xpm wxicon_xpm.xpm \n \
.PHONY: all bmp2xpm \ .PHONY: all bmp2xpm \n \
CONVERT ?= convert \ CONVERT ?= convert \n \
") ")
printf("wxicon_xpm.xpm: icon.ico\n $(CONVERT) 'icon.ico[2]' wxicon_xpm.xpm\n"); printf("wxicon_xpm.xpm: icon.ico\n $(CONVERT) 'icon.ico[2]' wxicon_xpm.xpm\n");