aboutsummaryrefslogtreecommitdiff
path: root/makefile
diff options
context:
space:
mode:
Diffstat (limited to 'makefile')
-rw-r--r--makefile15
1 files changed, 12 insertions, 3 deletions
diff --git a/makefile b/makefile
index 4275474..8e9e967 100644
--- a/makefile
+++ b/makefile
@@ -6,10 +6,19 @@ PLATS= macosx linux win32
6# 6#
7all: $(PLAT) 7all: $(PLAT)
8 8
9$(PLATS) none install local clean: 9$(PLATS) none install install-unix local clean:
10 @cd src; $(MAKE) $@ 10 @cd src; $(MAKE) $@
11 11
12test: dummy 12test:
13 lua test/hello.lua 13 lua test/hello.lua
14 14
15.PHONY: dummy 15install-both:
16 touch src/*.c
17 @cd src; $(MAKE) $(PLAT) LUAV=5.1
18 @cd src; $(MAKE) install-unix LUAV=5.1
19 touch src/*.c
20 @cd src; $(MAKE) $(PLAT) LUAV=5.2
21 @cd src; $(MAKE) install-unix LUAV=5.2
22
23.PHONY: test
24