X-Git-Url: http://git.subgeniuskitty.com/screensavers/.git/blobdiff_plain/bd238daaf946a470de4fd5029cb103ee88cecaa4..51228e257ac68e055886ce54df51b0933bf13218:/hacks/WolframAutomata/Makefile diff --git a/hacks/WolframAutomata/Makefile b/hacks/WolframAutomata/Makefile index fe5c0a8..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 @@ -49,6 +53,3 @@ run: clean all @echo "######################" @echo "" @./WolframAutomata - -manpage: - @mandoc -a WolframAutomata.man