Skip to content

Commit d555b70

Browse files
committed
add missing luasocket patch
1 parent b78cb75 commit d555b70

File tree

1 file changed

+49
-0
lines changed

1 file changed

+49
-0
lines changed
Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
diff --git a/makefile b/makefile
2+
deleted file mode 100644
3+
index 04cd894..0000000
4+
--- a/makefile
5+
+++ /dev/null
6+
@@ -1,43 +0,0 @@
7+
-# luasocket makefile
8+
-#
9+
-# see src/makefile for description of how to customize the build
10+
-#
11+
-# Targets:
12+
-# install install system independent support
13+
-# install-unix also install unix-only support
14+
-# install-both install for both lua5.1 and lua5.2
15+
-# install-both-unix also install unix-only
16+
-# print print the build settings
17+
-
18+
-PLAT?= linux
19+
-PLATS= macosx linux win32 mingw
20+
-
21+
-all: $(PLAT)
22+
-
23+
-$(PLATS) none install install-unix local clean:
24+
- $(MAKE) -C src $@
25+
-
26+
-print:
27+
- $(MAKE) -C src $@
28+
-
29+
-test:
30+
- lua test/hello.lua
31+
-
32+
-install-both:
33+
- $(MAKE) clean
34+
- @cd src; $(MAKE) $(PLAT) LUAV=5.1
35+
- @cd src; $(MAKE) install LUAV=5.1
36+
- $(MAKE) clean
37+
- @cd src; $(MAKE) $(PLAT) LUAV=5.2
38+
- @cd src; $(MAKE) install LUAV=5.2
39+
-
40+
-install-both-unix:
41+
- $(MAKE) clean
42+
- @cd src; $(MAKE) $(PLAT) LUAV=5.1
43+
- @cd src; $(MAKE) install-unix LUAV=5.1
44+
- $(MAKE) clean
45+
- @cd src; $(MAKE) $(PLAT) LUAV=5.2
46+
- @cd src; $(MAKE) install-unix LUAV=5.2
47+
-
48+
-.PHONY: test
49+
-

0 commit comments

Comments
 (0)