diff options
author | B. Watson <urchlay@slackware.uk> | 2024-12-13 07:23:18 -0500 |
---|---|---|
committer | B. Watson <urchlay@slackware.uk> | 2024-12-13 07:23:18 -0500 |
commit | 5df3e66eab811ae603cf50d61caa2d3dfdeb8503 (patch) | |
tree | 398deebacf0390167b37788f36cc45d8816f9432 /Makefile | |
parent | eb9fa9189a0948f17708e6bfc11d204af4d5e34f (diff) | |
download | uxd-5df3e66eab811ae603cf50d61caa2d3dfdeb8503.tar.gz |
Makefile: build with warnings, force C89.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -3,7 +3,7 @@ ### Override these variables as needed. Don't override CFLAGS; use # MYCFLAGS instead. -MYCFLAGS=-O2 -fPIC -Wall +MYCFLAGS=-O2 -fPIC # These only affect the 'install' target (they don't get compiled # into the binary). @@ -23,7 +23,8 @@ GZIP_MAN=yes VERSION=0.1.0 DEFINES=-DVERSION='"$(VERSION)"' -CFLAGS=$(MYCFLAGS) $(DEFINES) +WARNFLAGS=-std=c89 -Wall -pedantic -Wextra +CFLAGS=$(DEFINES) $(WARNFLAGS) $(MYCFLAGS) .PHONY: all test man clean install |