Add explicit rule for compile to use CCFLAGS instead of CFLAGS (take two)
[open-adventure.git] / Makefile
index 7b81be6b418236e9f1b89b1b06f3c7e18ba56a01..c2f34d48f62db23405b85061bbe045e4a7d1c367 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,7 +1,7 @@
 # Makefile for the open-source release of adventure 2.5
 
-CC=clang
-CCFLAGS=-O2 -std=c99 -Wall -Wextra -Wpedantic -fstack-protector -fstack-protector-all -pipe -mtune=native
+CC?=gcc
+CCFLAGS=-std=c99
 LIBS=
 UNAME_S := $(shell uname -s)
 ifeq ($(UNAME_S),Linux)