diff options
author | Sam Roberts <vieuxtech@gmail.com> | 2012-04-11 14:18:20 -0700 |
---|---|---|
committer | Sam Roberts <vieuxtech@gmail.com> | 2012-04-11 14:18:20 -0700 |
commit | 4b671f4551e98ac9e1d9a7407d3dffdd7eb1d3dc (patch) | |
tree | ba92aa753ae1b145760cb1c5e69c886d3bf11328 /makefile | |
parent | f399ab25fcecad2ff96a5977e8eaf069bb45473c (diff) | |
parent | 195b2a74bb3f368b1f31f9c8bbc1ce0f54de2035 (diff) | |
download | luasocket-4b671f4551e98ac9e1d9a7407d3dffdd7eb1d3dc.tar.gz luasocket-4b671f4551e98ac9e1d9a7407d3dffdd7eb1d3dc.tar.bz2 luasocket-4b671f4551e98ac9e1d9a7407d3dffdd7eb1d3dc.zip |
Merge branch 'git-sam' into diego-sam-mwild-integration
Conflicts in options.c were just due to independent small functions
being close to each other.
unix.c in mwild was broken, it wasn't using LUASOCKET_API.
serial.c needed luaL_reg renamed, and to use LUASOCKET_API.
makefile didn't respect standard DESTDIR and prefix makefile
variables, and didn't allow LUAV variable to select lua version to build
against.
I've tested the top-level install-both target builds and installs
against both lua5.1 and lua5.2, but not done further testing.
Conflicts:
README
config
gem/ltn012.tex
makefile
src/makefile
src/options.c
src/options.h
src/tcp.c
src/usocket.c
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 | |||