summaryrefslogtreecommitdiff
path: root/clients/lua/Makefile
diff options
context:
space:
mode:
authorLua Team <team@lua.org>1995-11-28 12:00:00 +0000
committerrepogen <>1995-11-28 12:00:00 +0000
commit71754d2f6423fb9b6e87658e58bafc5470d53f65 (patch)
treec704e97b80e52a52d3152738941bb4c8ca676b97 /clients/lua/Makefile
parenta8b6ba0954edb9e0e669e1f451b9a8f145ce5166 (diff)
downloadlua-github-2.2.tar.gz
Lua 2.22.2
Diffstat (limited to 'clients/lua/Makefile')
-rw-r--r--clients/lua/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/clients/lua/Makefile b/clients/lua/Makefile
index 10538d67..b76dae3c 100644
--- a/clients/lua/Makefile
+++ b/clients/lua/Makefile
@@ -12,6 +12,7 @@ INCS= -I/usr/5include -I$(INC)
WARN= -Wall -Wmissing-prototypes -Wshadow -ansi
OBJS= lua.o
+SRCS= lua.c
T=$(BIN)/lua
@@ -19,9 +20,14 @@ $T: $(OBJS)
$(CC) -o $@ $(OBJS) -L$(LIB) -llua -llualib -lm
dynamic:
+ rm -f $T
+ make
clean:
rm -f $T $(OBJS)
co:
- co -M lua.c
+ co -f -M $(SRCS)
+
+klean: clean
+ rm -f $(SRCS)