1 --- Makefile.orig 2003-11-05 16:26:49.000000000 -0800
2 +++ Makefile 2005-04-03 14:22:32.000000000 -0700
4 # makefile for POSIX library for Lua
6 # change these to reflect your Lua installation
13 # no need to change anything below here
14 CFLAGS= -fPIC $(INCS) $(WARN) -O2 $G
15 -WARN= -pedantic -Wall
23 +OBJS= $(MYLIB).o compat-5.1.o
31 $(LUABIN)/lua -l$(MYNAME) test.lua
34 - $(CC) -o $@ -shared $(OBJS)
35 + $(CC) -o $@ -shared $(OBJS) -L$(LUALIB) -llua50 -llualib50
37 +compat-5.1.c: $(LUALIB)/lua/compat-5.1r2/compat-5.1.c
38 + cp $(LUALIB)/lua/compat-5.1r2/compat-5.1.? .
40 $(OBJS): modemuncher.c