summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorLua Team <team@lua.org>2004-03-24 12:00:00 +0000
committerrepogen <>2004-03-24 12:00:00 +0000
commitced7bbbe7a257ce6de94069d5dbf6672aeafd4d9 (patch)
tree2a01a79e6a4f451dccd247c70310ad957204cefa /Makefile
parente7731a8fb8a317aa5c444ef073bfad82fa5baa54 (diff)
downloadlua-github-5.1-work0.tar.gz
Lua 5.1-work05.1-work0
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile14
1 files changed, 8 insertions, 6 deletions
diff --git a/Makefile b/Makefile
index 9ab901d4..19392435 100644
--- a/Makefile
+++ b/Makefile
@@ -7,15 +7,17 @@ LUA= .
include $(LUA)/config
# primary targets ("co" and "klean" are used for making the distribution)
-all clean co klean: dirs
+all clean co klean:
cd include; $(MAKE) $@
cd src; $(MAKE) $@
cd src/lib; $(MAKE) $@
cd src/luac; $(MAKE) $@
cd src/lua; $(MAKE) $@
+clean klean: soclean
+
# in case they were not created during unpacking
-dirs: bin lib
+all: bin lib
bin lib:
mkdir -p $@
@@ -44,7 +46,7 @@ so:
# binaries using shared libraries
sobin:
- rm -f bin/*
+ rm -f bin/lua*
cd src/lua; $(MAKE)
cd src/luac; $(MAKE)
@@ -55,7 +57,7 @@ soinstall:
# clean shared libraries
soclean:
- rm -f lib/*.so* bin/*
+ rm -f lib/*.so* bin/lua*
# echo config parameters
echo:
@@ -96,7 +98,7 @@ lecho:
@make echo | grep = | sed -e 's/= /= "/' -e 's/$$/"/' #-e 's/""/nil/'
@echo "-- EOF"
+# (end of Makefile)
+
newer:
@find . -newer MANIFEST -type f
-
-# (end of Makefile)