diff --git a/Makefile b/Makefile index a34c7a6..a6f3af7 100644 --- a/Makefile +++ b/Makefile @@ -1,11 +1,11 @@ # Makefile for the open-source release of adventure 2.5 CCFLAGS=-std=c99 -LIBS=-lrt +LIBS= UNAME_S := $(shell uname -s) GCCVERSIONGTEQ4 := $(shell expr `gcc -dumpversion | cut -f1 -d.` \>= 4) -ifeq ($(UNAME_S),Darwin) - LIBS= +ifeq ($(UNAME_S),Linux) + LIBS=-lrt else ifeq "$(GCCVERSIONGTEQ4)" "1" CC=c99 endif