diff --git a/Makefile b/Makefile index 06857bf..e2f5ddc 100644 --- a/Makefile +++ b/Makefile @@ -1,13 +1,11 @@ # Makefile for the open-source release of adventure 2.5 +CC?=gcc CCFLAGS=-std=c99 LIBS= UNAME_S := $(shell uname -s) -GCCVERSIONGTEQ4 := $(shell expr `gcc -dumpversion | cut -f1 -d.` \>= 4) ifeq ($(UNAME_S),Linux) LIBS=-lrt -else ifeq "$(GCCVERSIONGTEQ4)" "1" - CC?=c99 endif OBJS=main.o init.o actions1.o actions2.o score.o misc.o