summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorAlan Mishchenko <alanmi@berkeley.edu>2013-08-15 00:58:23 -0700
committerAlan Mishchenko <alanmi@berkeley.edu>2013-08-15 00:58:23 -0700
commit7013e0b672a881a979ef05f504ba3b2fb3dfdaf4 (patch)
treee78e062f863447e8492872dd82b81b1bae6e007c /Makefile
parent9c2b00755629ec8406043133a26fd43e7e96424d (diff)
downloadabc-7013e0b672a881a979ef05f504ba3b2fb3dfdaf4.tar.gz
abc-7013e0b672a881a979ef05f504ba3b2fb3dfdaf4.tar.bz2
abc-7013e0b672a881a979ef05f504ba3b2fb3dfdaf4.zip
Small changes to compile on Mac.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 9c8a3a8a..ca22379d 100644
--- a/Makefile
+++ b/Makefile
@@ -63,7 +63,11 @@ endif
endif
-LIBS := -ldl -lrt
+# LIBS := -ldl -lrt
+LIBS := -ldl
+ifneq ($(findstring Darwin, $(shell uname)), Darwin)
+ LIBS += -lrt
+endif
ifneq ($(READLINE),0)
CFLAGS += -DABC_USE_READLINE