X-Git-Url: http://git.subgeniuskitty.com/screensavers/.git/blobdiff_plain/c5edf832763ad41d932a820af2d1605209eb782a..e9878e809c68dfcad90153810d211fc6e590390c:/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