From 377347776f1f3d820f92151f70bec667f96d5e6b Mon Sep 17 00:00:00 2001 From: Lua Team Date: Sat, 11 Jul 1998 12:00:00 +0000 Subject: Lua 3.1 --- src/lua/Makefile | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 src/lua/Makefile (limited to 'src/lua/Makefile') diff --git a/src/lua/Makefile b/src/lua/Makefile new file mode 100644 index 00000000..1ec83706 --- /dev/null +++ b/src/lua/Makefile @@ -0,0 +1,32 @@ +# makefile for lua interpreter + +LUA= ../.. + +include $(LUA)/config + +EXTRA_DEFS= $(POSIX) + +OBJS= lua.o +SRCS= lua.c + +T= $(BIN)/lua + +all: $T + +$T: $(OBJS) $(LIB)/liblua.a $(LIB)/liblualib.a + $(CC) -o $@ $(OBJS) -L$(LIB) -llua -llualib -lm + +$(LIB)/liblua.a: + cd ..; make + +$(LIB)/liblualib.a: + cd ../lib; make + +clean: + rm -f $(OBJS) $T + +co: + co -q -f -M $(SRCS) + +klean: clean + rm -f $(SRCS) -- cgit v1.2.1