diff options
| author | Lua Team <team@lua.org> | 1998-07-11 12:00:00 +0000 |
|---|---|---|
| committer | repogen <> | 1998-07-11 12:00:00 +0000 |
| commit | 377347776f1f3d820f92151f70bec667f96d5e6b (patch) | |
| tree | cdb3ba26158df33547dfe765547177afcee119d1 /src/luac/Makefile | |
| parent | 4f8c5d0f284e1f4da717aea5008915f185cd2e05 (diff) | |
| download | lua-github-3.1.tar.gz | |
Lua 3.13.1
Diffstat (limited to 'src/luac/Makefile')
| -rw-r--r-- | src/luac/Makefile | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/src/luac/Makefile b/src/luac/Makefile index 813393e4..195b5cc4 100644 --- a/src/luac/Makefile +++ b/src/luac/Makefile @@ -1,24 +1,28 @@ -# makefile for lua distribution (compiler) +# makefile for lua compiler LUA= ../.. include $(LUA)/config INCS= -I$(INC) $(EXTRA_INCS) -I.. -OBJS= dump.o luac.o print.o -SRCS= dump.c luac.c print.c luac.h print.h -T=$(BIN)/luac +OBJS= dump.o luac.o opcode.o opt.o print.o stubs.o +SRCS= dump.c luac.c opcode.c opt.c print.c stubs.c luac.h opcode.h + +T= $(BIN)/luac all: $T -$T: $(OBJS) +$T: $(OBJS) $(LIB)/liblua.a $(CC) -o $@ $(OBJS) -L$(LIB) -llua +$(LIB)/liblua.a: + cd ..; make + clean: rm -f $(OBJS) $T co: - co -f -M $(SRCS) + co -q -f -M $(SRCS) klean: clean rm -f $(SRCS) |
