aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Makefile
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2009-10-22 17:54:24 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2009-10-22 17:54:24 +0000
commit300b892da5a31ca81913f814b09e60f8293d7b07 (patch)
tree2ac39a876af948ac94aa409adb4fdfbdc3df1817 /Makefile
parentaba875986bc99f62f2282c3bae2b1381db903e65 (diff)
downloadmandoc-300b892da5a31ca81913f814b09e60f8293d7b07.tar.gz
mandoc-300b892da5a31ca81913f814b09e60f8293d7b07.tar.zst
mandoc-300b892da5a31ca81913f814b09e60f8293d7b07.zip
Added ability to set OS name at compile-time with -DOSNAME="\"foo\"".
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 2ad41901..2e3c867d 100644
--- a/Makefile
+++ b/Makefile
@@ -12,9 +12,10 @@ INSTALL_MAN = $(INSTALL_DATA)
VERSION = 1.9.9
VDATE = 21 October 2009
-VFLAGS = -DVERSION=\"$(VERSION)\"
+VFLAGS = -DVERSION="\"$(VERSION)\""
CFLAGS += -W -Wall -Wstrict-prototypes -Wno-unused-parameter -Wwrite-strings -g
CFLAGS += $(VFLAGS)
+#CFLAGS += -DOSNAME="\"OpenBSD 4.5\""
LINTFLAGS += $(VFLAGS)
MANDOCFLAGS = -Wall -fstrict