summaryrefslogtreecommitdiff
path: root/clients/lua/Makefile
diff options
context:
space:
mode:
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)