From: Michael Jarvis Date: Fri, 2 Jun 2017 03:52:26 +0000 (-0500) Subject: Revert "Add explicit rule for compile to use CCFLAGS instead of CFLAGS" X-Git-Tag: 0.90~35 X-Git-Url: https://jxself.org/git/?a=commitdiff_plain;h=c14c5952a714b362436c367b30348849a61207dd;p=open-adventure.git Revert "Add explicit rule for compile to use CCFLAGS instead of CFLAGS" This reverts commit c29e30d25cce4a92d617d79a49d97643fb9261a7. --- diff --git a/Makefile b/Makefile index 7b81be6..23cd7f9 100644 --- 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) @@ -33,9 +33,6 @@ database.o: database.h funcs.h: database.h -compile: compile.c - $(CC) $(CCFLAGS) -o $@ $< - database.c database.h: compile adventure.text ./compile $(CC) $(CCFLAGS) -O $(DBX) -c database.c