diff options
| author | Lua Team <team@lua.org> | 2005-09-09 12:00:00 +0000 |
|---|---|---|
| committer | repogen <> | 2005-09-09 12:00:00 +0000 |
| commit | bd80c4ee9b6d9464cf9f3ff4ee41890d8b3ca9e6 (patch) | |
| tree | e1d7c1b341ccb9a3a1fb044ac6e67b5a5e0259b7 /etc/Makefile | |
| parent | bf6b5550cdfbc0c4a3a4577776ad76628d80718e (diff) | |
| download | lua-github-5.1-alpha.tar.gz | |
Lua 5.1-alpha5.1-alpha
Diffstat (limited to 'etc/Makefile')
| -rw-r--r-- | etc/Makefile | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/etc/Makefile b/etc/Makefile index fc3d1468..2dfc937c 100644 --- a/etc/Makefile +++ b/etc/Makefile @@ -14,13 +14,12 @@ MYLDFLAGS= -Wl,-E MYLIBS= -lm -ldl RM= rm -f -ALL= min noparser.o 1 - all: - @echo 'choose a target:' $(ALL) + @echo 'choose a target: min noparser one clean' min: min.c - $(CC) $(CFLAGS) -o $@ $@.c -L$(LIB) -llua $(MYLIBS) + $(CC) $(CFLAGS) $@.c -L$(LIB) -llua $(MYLIBS) + echo 'print"Hello there!"' | ./a.out noparser: noparser.o $(CC) noparser.o $(SRC)/lua.o -L$(LIB) -llua $(MYLIBS) @@ -28,9 +27,9 @@ noparser: noparser.o -./a.out luac.out -./a.out -e'a=1' -1: +one: $(CC) $(CFLAGS) all.c $(MYLIBS) ./a.out $(TST)/hello.lua clean: - $(RM) $(ALL) a.out core core.* *.o luac.out + $(RM) noparser.o a.out core core.* *.o luac.out |
