We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ed096dc commit aebea56Copy full SHA for aebea56
Darwin.mak
@@ -1,6 +1,6 @@
1
# OS X
2
CC = MACOSX_DEPLOYMENT_TARGET="10.3" gcc
3
+LUA = lua
4
LDFLAGS = -fno-common -bundle -undefined dynamic_lookup
5
CLUA=-I/usr/local/include
-LLUA=-llua
6
-
+LLUA=-l${LUA}
FreeBSD.mak
@@ -0,0 +1,6 @@
+# FreeBSD
+CC = clang
+LDFLAGS = -fPIC -fno-common -shared
+LUA = lua51
+CLUA=-I/usr/local/include -I/usr/local/include/${LUA}
+LLUA=-llua-5.1
Makefile
@@ -59,15 +59,15 @@ echo:
59
test: pcap.test $(TOUT)
60
61
%.test: %.lua net.so
62
- lua $<
+ $(LUA) $<
63
touch $@
64
65
%.test: %-test %.so
66
67
68
69
%.test: %-test net.so
70
71
72
73
doc: README.txt
0 commit comments