diff options
| author | Diego Nehab <diego@impa.br> | 2013-05-27 21:17:00 +0800 |
|---|---|---|
| committer | Diego Nehab <diego@impa.br> | 2013-05-27 21:17:00 +0800 |
| commit | 3d61b0fe36708bce78bd087c7f7247e93e07a667 (patch) | |
| tree | 51727c3f53b3e550467ee60eca54a2a202a828f3 /makefile | |
| parent | afe04943184c95adfbb2d05b8b7f0f4b3c36c3b5 (diff) | |
| parent | 834a3cf520637df0af9967e1f8ad9e40837771cb (diff) | |
| download | luasocket-3d61b0fe36708bce78bd087c7f7247e93e07a667.tar.gz luasocket-3d61b0fe36708bce78bd087c7f7247e93e07a667.tar.bz2 luasocket-3d61b0fe36708bce78bd087c7f7247e93e07a667.zip | |
Merge branch 'pkulchenko' into unstable
Diffstat (limited to 'makefile')
| -rw-r--r-- | makefile | 19 |
1 files changed, 14 insertions, 5 deletions
| @@ -3,13 +3,14 @@ | |||
| 3 | # see src/makefile for description of how to customize the build | 3 | # see src/makefile for description of how to customize the build |
| 4 | # | 4 | # |
| 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 both lua5.1 and lua5.2 socket support | 8 | # install-both install for both lua5.1 and lua5.2 |
| 9 | # print print the build settings | 9 | # install-both-unix also install unix-only |
| 10 | # print print the build settings | ||
| 10 | 11 | ||
| 11 | PLAT?= linux | 12 | PLAT?= linux |
| 12 | PLATS= macosx linux win32 | 13 | PLATS= macosx linux win32 mingw |
| 13 | 14 | ||
| 14 | all: $(PLAT) | 15 | all: $(PLAT) |
| 15 | 16 | ||
| @@ -25,6 +26,14 @@ test: | |||
| 25 | install-both: | 26 | install-both: |
| 26 | $(MAKE) clean | 27 | $(MAKE) clean |
| 27 | @cd src; $(MAKE) $(PLAT) LUAV=5.1 | 28 | @cd src; $(MAKE) $(PLAT) LUAV=5.1 |
| 29 | @cd src; $(MAKE) install LUAV=5.1 | ||
| 30 | $(MAKE) clean | ||
| 31 | @cd src; $(MAKE) $(PLAT) LUAV=5.2 | ||
| 32 | @cd src; $(MAKE) install LUAV=5.2 | ||
| 33 | |||
| 34 | install-both-unix: | ||
| 35 | $(MAKE) clean | ||
| 36 | @cd src; $(MAKE) $(PLAT) LUAV=5.1 | ||
| 28 | @cd src; $(MAKE) install-unix LUAV=5.1 | 37 | @cd src; $(MAKE) install-unix LUAV=5.1 |
| 29 | $(MAKE) clean | 38 | $(MAKE) clean |
| 30 | @cd src; $(MAKE) $(PLAT) LUAV=5.2 | 39 | @cd src; $(MAKE) $(PLAT) LUAV=5.2 |
