openbsd-ports/devel/luarings/patches/patch-Makefile
pedro 03a4160d9a Rings is a library which provides a way to create new Lua states from within
Lua. It also offers a simple way to communicate between the creator (master)
and the created (slave) states.
2006-03-21 21:02:52 +00:00

27 lines
718 B
Plaintext

$OpenBSD: patch-Makefile,v 1.1.1.1 2006/03/21 21:02:52 pedro Exp $
--- Makefile.orig Thu Dec 29 11:09:17 2005
+++ Makefile Tue Mar 21 13:32:19 2006
@@ -1,18 +1,18 @@
# $Id: patch-Makefile,v 1.1.1.1 2006/03/21 21:02:52 pedro Exp $
T= rings
-V= 1.0.0
+V= 1.0
CONFIG= ./config
include $(CONFIG)
SRCS= src/rings.c
OBJS= $(COMPAT_O) src/rings.o
-COMPAT_O= $(COMPAT_DIR)/compat-5.1.o
-src/$(LIBNAME) : $(OBJS)
- export MACOSX_DEPLOYMENT_TARGET="10.3"; $(CC) $(CFLAGS) $(LIB_OPTION) -o src/$(LIBNAME) src/rings.o $(COMPAT_O)
+all:
+ $(CC) $(CFLAGS) -c src/rings.c
+ $(CC) $(CFLAGS) -shared rings.o -o $(LIBNAME)
$(COMPAT_O): $(COMPAT_DIR)/compat-5.1.c
$(CC) -c $(CFLAGS) -o $@ $(COMPAT_DIR)/compat-5.1.c