No librt on macOS

This commit is contained in:
Richard Reader 2017-05-29 10:32:40 +01:00
parent 5ae76995d2
commit 7113fbaa73

View file

@ -1,6 +1,14 @@
# Makefile for the open-source release of adventure 2.5
ifeq ($(OS),Windows_NT)
LIBS=-lrt
else
UNAME_S := $(shell uname -s)
ifeq ($(UNAME_S),Darwin)
LIBS=
else
LIBS=-lrt
endif
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