X-Git-Url: https://jxself.org/git/?p=open-adventure.git;a=blobdiff_plain;f=Makefile;h=23cd7f9dc749be6bbb53eba1ade06e9a3fff154f;hp=7b81be6b418236e9f1b89b1b06f3c7e18ba56a01;hb=c14c5952a714b362436c367b30348849a61207dd;hpb=2620bf922f351a346f74210f2dc4f782cbc44486 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