X-Git-Url: http://git.subgeniuskitty.com/screensavers/.git/blobdiff_plain/6b4b1b563ebbd3ddc4069eff5e56a260f2e92828..c9e09490b729509197dc5fae9aae438462251941:/hacks/WolframAutomata/Makefile diff --git a/hacks/WolframAutomata/Makefile b/hacks/WolframAutomata/Makefile index 2b64750..c360e2d 100644 --- a/hacks/WolframAutomata/Makefile +++ b/hacks/WolframAutomata/Makefile @@ -12,11 +12,15 @@ # require minor tweaks (e.g. LIB_PATH on Debian should be /usr/lib/ rather than # /usr/local/lib/ and the compiler is gcc rather than cc). CC = cc -CC_FLAGS = -Wall -pedantic +CC_FLAGS = -Wall -pedantic -std=c89 INC_PATH = -I../../screenhack/ -I/usr/local/include/ LIB_PATH = -L/usr/local/lib/ LIBS = -lm -lX11 -lXt +# Many of the X-related header files contain named variadic macros. Suppress +# that warning so that we can enable -pedantic C89 compliance for our own code. +CC_FLAGS += -Wno-variadic-macros + # These flags are normally set in config.h which is generated by the autoconf # script as the initial step of the xscreensaver build process. The flags # enable/disable code in the various screenhack library files. When compiling