aboutsummaryrefslogtreecommitdiff
path: root/makefile
blob: 8e9e9671ff7a33a80637dfbb23be118773d4ff76 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
PLAT?= macosx
PLATS= macosx linux win32

#------
# Hopefully no need to change anything below this line
#
all: $(PLAT)

$(PLATS) none install install-unix local clean:
	@cd src; $(MAKE) $@

test:
	lua test/hello.lua

install-both:
	touch src/*.c
	@cd src; $(MAKE) $(PLAT) LUAV=5.1
	@cd src; $(MAKE) install-unix LUAV=5.1
	touch src/*.c
	@cd src; $(MAKE) $(PLAT) LUAV=5.2
	@cd src; $(MAKE) install-unix LUAV=5.2

.PHONY: test