diff options
| author | Diego Nehab <diego@impa.br> | 2015-02-18 20:51:37 -0200 |
|---|---|---|
| committer | Diego Nehab <diego@impa.br> | 2015-02-18 20:51:37 -0200 |
| commit | ddf429282460323e24652e6beec8e750f8e4a958 (patch) | |
| tree | 071ee7879bbd4c917c92e5383c759e98a90cf78e /makefile | |
| parent | 5edf093643cceb329392aec9606ab3988579b821 (diff) | |
| download | luasocket-ddf429282460323e24652e6beec8e750f8e4a958.tar.gz luasocket-ddf429282460323e24652e6beec8e750f8e4a958.tar.bz2 luasocket-ddf429282460323e24652e6beec8e750f8e4a958.zip | |
Out of the box support for Lua 5.3.
Diffstat (limited to 'makefile')
| -rw-r--r-- | makefile | 18 |
1 files changed, 12 insertions, 6 deletions
| @@ -5,8 +5,8 @@ | |||
| 5 | # Targets: | 5 | # Targets: |
| 6 | # install install system independent support | 6 | # install install system independent support |
| 7 | # install-unix also install unix-only support | 7 | # install-unix also install unix-only support |
| 8 | # install-both install for both lua5.1 and lua5.2 | 8 | # install-both install for lua51 lua52 lua53 |
| 9 | # install-both-unix also install unix-only | 9 | # install-both-unix also install unix-only |
| 10 | # print print the build settings | 10 | # print print the build settings |
| 11 | 11 | ||
| 12 | PLAT?= linux | 12 | PLAT?= linux |
| @@ -24,20 +24,26 @@ test: | |||
| 24 | lua test/hello.lua | 24 | lua test/hello.lua |
| 25 | 25 | ||
| 26 | install-both: | 26 | install-both: |
| 27 | $(MAKE) clean | 27 | $(MAKE) clean |
| 28 | @cd src; $(MAKE) $(PLAT) LUAV=5.1 | 28 | @cd src; $(MAKE) $(PLAT) LUAV=5.1 |
| 29 | @cd src; $(MAKE) install LUAV=5.1 | 29 | @cd src; $(MAKE) install LUAV=5.1 |
| 30 | $(MAKE) clean | 30 | $(MAKE) clean |
| 31 | @cd src; $(MAKE) $(PLAT) LUAV=5.2 | 31 | @cd src; $(MAKE) $(PLAT) LUAV=5.2 |
| 32 | @cd src; $(MAKE) install LUAV=5.2 | 32 | @cd src; $(MAKE) install LUAV=5.2 |
| 33 | $(MAKE) clean | ||
| 34 | @cd src; $(MAKE) $(PLAT) LUAV=5.3 | ||
| 35 | @cd src; $(MAKE) install LUAV=5.3 | ||
| 33 | 36 | ||
| 34 | install-both-unix: | 37 | install-both-unix: |
| 35 | $(MAKE) clean | 38 | $(MAKE) clean |
| 36 | @cd src; $(MAKE) $(PLAT) LUAV=5.1 | 39 | @cd src; $(MAKE) $(PLAT) LUAV=5.1 |
| 37 | @cd src; $(MAKE) install-unix LUAV=5.1 | 40 | @cd src; $(MAKE) install-unix LUAV=5.1 |
| 38 | $(MAKE) clean | 41 | $(MAKE) clean |
| 39 | @cd src; $(MAKE) $(PLAT) LUAV=5.2 | 42 | @cd src; $(MAKE) $(PLAT) LUAV=5.2 |
| 40 | @cd src; $(MAKE) install-unix LUAV=5.2 | 43 | @cd src; $(MAKE) install-unix LUAV=5.2 |
| 44 | $(MAKE) clean | ||
| 45 | @cd src; $(MAKE) $(PLAT) LUAV=5.3 | ||
| 46 | @cd src; $(MAKE) install-unix LUAV=5.3 | ||
| 41 | 47 | ||
| 42 | .PHONY: test | 48 | .PHONY: test |
| 43 | 49 | ||
