diff options
Diffstat (limited to 'clients/lua/Makefile')
| -rw-r--r-- | clients/lua/Makefile | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/clients/lua/Makefile b/clients/lua/Makefile index b76dae3c..7bfde7fe 100644 --- a/clients/lua/Makefile +++ b/clients/lua/Makefile @@ -1,21 +1,18 @@ # makefile for lua interpreter -BIN= $(LUA)/bin -INC= $(LUA)/include -LIB= $(LUA)/lib +LUA= ../.. -CC= gcc -CFLAGS= $(INCS) $(DEFS) $(WARN) -O2 +include $(LUA)/config -# in SunOs /usr/5include contains prototypes for standard lib -INCS= -I/usr/5include -I$(INC) -WARN= -Wall -Wmissing-prototypes -Wshadow -ansi +EXTRA_DEFS= $(POSIX) OBJS= lua.o SRCS= lua.c T=$(BIN)/lua +all: $T + $T: $(OBJS) $(CC) -o $@ $(OBJS) -L$(LIB) -llua -llualib -lm |
