diff options
Diffstat (limited to 'makefile')
-rw-r--r-- | makefile | 15 |
1 files changed, 12 insertions, 3 deletions
@@ -6,10 +6,19 @@ PLATS= macosx linux win32 | |||
6 | # | 6 | # |
7 | all: $(PLAT) | 7 | all: $(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 | ||
12 | test: dummy | 12 | test: |
13 | lua test/hello.lua | 13 | lua test/hello.lua |
14 | 14 | ||
15 | .PHONY: dummy | 15 | install-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 | |||