diff options
Diffstat (limited to 'etc/Makefile')
| -rw-r--r-- | etc/Makefile | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/etc/Makefile b/etc/Makefile index 1286c640..0fc318cd 100644 --- a/etc/Makefile +++ b/etc/Makefile @@ -5,7 +5,7 @@ LUA= .. include $(LUA)/config LIBLUA=$(LIB)/liblua.a -ALL= bin2c min trace noparser luab +ALL= bin2c min noparser luab all: @echo 'choose a target:' $(ALL) @@ -16,14 +16,11 @@ bin2c: bin2c.c min: min.c $(LIBLUA) $(CC) $(CFLAGS) -o $@ $@.c -L$(LIB) -llua -trace: trace.c $(LIBLUA) - $(CC) -g $(CFLAGS) -o $@ $@.c -L$(LIB) -llua -llualib $(EXTRA_LIBS) - noparser: noparser.c $(CC) $(CFLAGS) -I$(LUA)/src -o $@.o -c $@.c luab: noparser $(LIBLUA) - cc -o $@ noparser.o $(LUA)/src/lua/lua.o -L$(LIB) -llua -llualib $(EXTRA_LIBS) + $(CC) -o $@ noparser.o $(LUA)/src/lua/lua.o -L$(LIB) -llua -llualib $(EXTRA_LIBS) $(BIN)/luac $(LUA)/test/hello.lua $@ luac.out -$@ -e'a=1' @@ -36,7 +33,3 @@ $(LIBLUA): clean: rm -f $(ALL) a.out core *.o luac.out - -luser_tests.h: RCS/ltests.h,v - co -q -M ltests.h - mv -f ltests.h $@ |
