diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2015-05-19 20:55:34 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2015-05-19 20:55:34 -0700 |
commit | 6e30b0bbaa50af7404307a723b0e189b9777aa2e (patch) | |
tree | 1df9c36da0a775d9a58a38e33439d412e9cb9f37 /Makefile | |
parent | 7b0341d13bab3e7c2202327d56d150e2c7887045 (diff) | |
download | txr-6e30b0bbaa50af7404307a723b0e189b9777aa2e.tar.gz txr-6e30b0bbaa50af7404307a723b0e189b9777aa2e.tar.bz2 txr-6e30b0bbaa50af7404307a723b0e189b9777aa2e.zip |
Represent place.tl more compactly in image.
The contents of place.tl are now stored as a UTF-8 ordinary literal
instead of a wide char literal.
* Makefile (LISP_TO_C_STRING): Generate plain literal.
* lisplib.c: Convert plain literal to string.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -110,9 +110,9 @@ endef define LISP_TO_C_STRING $(call ABBREV,L2C) -$(V)echo "const wchli_t *${@:.h=}_code = wli(" > $@ +$(V)echo "const char *${@:.h=}_code =" > $@ $(V)sed -e 's/;.*//' -e 's/["\\]/\\&/g' -e 's/$$/\\n/' -e 's/.*/"&"/' $< >> $@ -$(V)echo ");" >> $@ +$(V)echo ";" >> $@ endef define WINDRES |