summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorLua Team <team@lua.org>1994-07-08 12:00:00 +0000
committerrepogen <>1994-07-08 12:00:00 +0000
commit944fc7d7d95575f2b8023c1f3d4ac19e1369fc76 (patch)
treeeabf0822f2058229cd0d49c7928683b8cf0ed88e /Makefile
parent8b5979a7e8b9732aa2883d2384f853d87b594770 (diff)
downloadlua-github-1.1.tar.gz
Lua 1.11.1
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile34
1 files changed, 8 insertions, 26 deletions
diff --git a/Makefile b/Makefile
index 8ed18bb5..10640e0d 100644
--- a/Makefile
+++ b/Makefile
@@ -1,29 +1,11 @@
-OBJS= hash.o inout.o lex_yy.o opcode.o table.o y_tab.o lua.o iolib.o mathlib.o strlib.o
+# makefile for lua hierarchy
-CFLAGS= -O2 -I.
-
-T= lua
-
-all: $T
-
-$T: $(OBJS)
- $(CC) -o $@ $(OBJS) -lm
-
-A=--------------------------------------------------------------------------
-test: $T
- @echo "$A"
- ./$T sort.lua main
- @echo "$A"
- ./$T globals.lua | sort | column
- @echo "$A"
- ./$T array.lua
- @echo "$A"
- ./$T save.lua
- @echo "$A"
- ./$T test.lua retorno_multiplo norma
+all:
+ (cd src; make)
+ (cd clients/lib; make)
+ (cd clients/lua; make)
clean:
- rm -f $T $(OBJS) core core.*
-
-diff:
- diff . fixed | grep -v ^Only
+ (cd src; make clean)
+ (cd clients/lib; make clean)
+ (cd clients/lua; make clean)