From: Eric S. Raymond Date: Mon, 29 May 2017 12:50:17 +0000 (-0400) Subject: MacOS port fix. X-Git-Tag: seed~23 X-Git-Url: https://jxself.org/git/?p=open-adventure.git;a=commitdiff_plain;h=6facfe15888aedc39cfa47c8c251256bcabfe771 MacOS port fix. --- diff --git a/Makefile b/Makefile index d4c82b5..362f586 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,11 @@ # Makefile for the open-source release of adventure 2.5 LIBS=-lrt +UNAME_S := $(shell uname -s) +ifeq ($(UNAME_S),Darwin) + LIBS= +endif + OBJS=main.o init.o actions1.o actions2.o score.o misc.o database.o SOURCES=$(OBJS:.o=.c) COPYING NEWS README TODO advent.text control