X-Git-Url: https://git.cameronkatri.com/mandoc.git/blobdiff_plain/ac40972f3b4e73679ea96e09b538d4e04314b16f..3037835dd1f5601b421e54ea434b1d87e9f5a26f:/Makefile diff --git a/Makefile b/Makefile index cc3fb743..a0d7d14c 100644 --- a/Makefile +++ b/Makefile @@ -13,7 +13,10 @@ VERSION = 1.11.2 VDATE = 12 May 2011 -CFLAGS += -g -DHAVE_CONFIG_H -DVERSION="\"$(VERSION)\"" +# If your system doesn't support multi-byte functions (specifically +# setlocale(), wcwidth(), putwchar()), then remove -DUSE_WCHAR. You'll +# still be able to use -Tlocale, but it becomes a synonym for -Tascii. +CFLAGS += -g -DUSE_WCHAR -DHAVE_CONFIG_H -DVERSION="\"$(VERSION)\"" CFLAGS += -W -Wall -Wstrict-prototypes -Wno-unused-parameter -Wwrite-strings PREFIX = /usr/local BINDIR = $(PREFIX)/bin