edf01e402c
- regen patches while here ok sthen@ jasper@
16 lines
554 B
Plaintext
16 lines
554 B
Plaintext
$OpenBSD: patch-Makefile,v 1.7 2011/05/05 23:16:19 gsoares Exp $
|
|
--- Makefile.orig Tue Oct 20 17:54:35 2009
|
|
+++ Makefile Thu May 5 16:51:24 2011
|
|
@@ -12,7 +12,10 @@ OBJS= src/$T.o
|
|
lib: src/lfs.so
|
|
|
|
src/lfs.so: $(OBJS)
|
|
- MACOSX_DEPLOYMENT_TARGET="10.3"; export MACOSX_DEPLOYMENT_TARGET; $(CC) $(CFLAGS) $(LIB_OPTION) -o src/lfs.so $(OBJS)
|
|
+ MACOSX_DEPLOYMENT_TARGET="10.3"; export MACOSX_DEPLOYMENT_TARGET; $(CC) $(CFLAGS) $(LIB_OPTION) lfs.o -o $(LIBNAME)
|
|
+
|
|
+$(OBJS): $(SRCS)
|
|
+ $(CC) $(CFLAGS) $(INCS) -c src/lfs.c
|
|
|
|
install:
|
|
mkdir -p $(LUA_LIBDIR)
|