From b879042e564832622d53da8764efe1625aac9a26 Mon Sep 17 00:00:00 2001 From: jluehrs2 Date: Tue, 18 Mar 2008 22:53:50 -0500 Subject: portability - make this build properly on a mac --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index ab74b97..94eb51a 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,5 @@ include Make.config +include Make.$(OS) BIN = src/signal.so OBJ = src/signal.o \ @@ -8,7 +9,7 @@ CC = gcc INCLUDES = -I$(LUA_INCLUDEPATH) DEFINES = LIBS = -l$(LUA_LIBNAME) -COMMONFLAGS = -fpic -Werror -Wall -pedantic -O2 -g -pipe +COMMONFLAGS = -Werror -Wall -pedantic -O2 -g -pipe $(OS_FLAGS) CFLAGS = -c $(INCLUDES) $(DEFINES) $(COMMONFLAGS) LDFLAGS = -shared $(LIBS) $(COMMONFLAGS) -- cgit v1.2.3-54-g00ecf