Request use of C99 standard in Linux Makefiles
This commit is contained in:
@@ -54,7 +54,7 @@ docdir = $(datarootdir)/doc/epanet
|
|||||||
|
|
||||||
# Compiler and flags
|
# Compiler and flags
|
||||||
CC = gcc
|
CC = gcc
|
||||||
CFLAGS = -g -O3 -fPIC
|
CFLAGS = -g -O3 -fPIC -std=c99
|
||||||
CPPFLAGS = -I $(epanetincludedir)
|
CPPFLAGS = -I $(epanetincludedir)
|
||||||
LDFLAGS = -L . -Wl,-rpath,$(libdir) -lm
|
LDFLAGS = -L . -Wl,-rpath,$(libdir) -lm
|
||||||
|
|
||||||
|
|||||||
@@ -57,7 +57,7 @@ docdir = $(datarootdir)/doc/epanet
|
|||||||
|
|
||||||
# Compiler and flags
|
# Compiler and flags
|
||||||
CC = gcc
|
CC = gcc
|
||||||
CFLAGS = -g -O3 -fPIC
|
CFLAGS = -g -O3 -fPIC -std=c99
|
||||||
CPPFLAGS = -I $(epanetincludedir)
|
CPPFLAGS = -I $(epanetincludedir)
|
||||||
LDFLAGS = -L . -Wl,-rpath,$(libdir) -lm
|
LDFLAGS = -L . -Wl,-rpath,$(libdir) -lm
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user