aboutsummaryrefslogtreecommitdiffstats
path: root/util-src/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'util-src/Makefile')
-rw-r--r--util-src/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/util-src/Makefile b/util-src/Makefile
index 4058b59d..b3753d48 100644
--- a/util-src/Makefile
+++ b/util-src/Makefile
@@ -10,7 +10,7 @@ CC?=gcc
LD?=gcc
-all: encodings.so hashes.so pposix.so
+all: encodings.so hashes.so pposix.so signal.so
install: encodings.so hashes.so pposix.so
install *.so ../util/
@@ -37,3 +37,8 @@ pposix.o: pposix.c
pposix.so: pposix.o
export MACOSX_DEPLOYMENT_TARGET="10.3"; $(LD) $(LFLAGS) -o pposix.so pposix.o -L$(LUA_LIBDIR) -llua$(LUA_SUFFIX)
+lsignal.o: lsignal.c
+ $(CC) $(CFLAGS) -I$(LUA_INCDIR) -c -o lsignal.o lsignal.c
+signal.so: lsignal.o
+ export MACOSX_DEPLOYMENT_TARGET="10.3"; $(LD) $(LFLAGS) -o signal.so lsignal.o
+