From 23e9b6c71ad350608d617608b4de02709c9b37e1 Mon Sep 17 00:00:00 2001 From: Matthew Wild Date: Sun, 12 Apr 2009 02:53:00 +0100 Subject: Makefiles, util.signal: Add lsignal library for catching POSIX signals --- util-src/Makefile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'util-src/Makefile') 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 + -- cgit v1.2.3