aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorjluehrs2 <jluehrs2@uiuc.edu>2008-03-18 18:42:11 -0500
committerjluehrs2 <jluehrs2@uiuc.edu>2008-03-18 18:42:11 -0500
commitea1ae62272d361f3afd714c90b0c5df09b6176b8 (patch)
tree98dc1aa92378d8240afb999222ea3427aa31cc7d /Makefile
parent4c106b83848ad4d11abeccb93c2d6769c1a38ae1 (diff)
downloadluancurses-ea1ae62272d361f3afd714c90b0c5df09b6176b8.tar.gz
luancurses-ea1ae62272d361f3afd714c90b0c5df09b6176b8.zip
make this build on OS X by switching some flags around
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 0a46896..1f4b78d 100644
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,5 @@
include Make.config
+include Make.$(OS)
BIN = src/curses.so
OBJ = src/curses.o src/strings.o
@@ -6,7 +7,7 @@ CC = gcc
INCLUDES =
DEFINES =
LIBS = -lcurses -llua
-COMMONFLAGS = -Werror -Wall -pedantic -O0 -g -pipe -fpic
+COMMONFLAGS = -Werror -Wall -pedantic -O0 -g -pipe $(OS_FLAGS)
CFLAGS = -c $(INCLUDES) $(DEFINES) $(COMMONFLAGS)
LDFLAGS = $(LIBS) $(COMMONFLAGS) -shared