Created
June 23, 2010 16:40
-
-
Save mlooney/450180 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/Makefile b/Makefile | |
index 5f89db2..41465f0 100644 | |
--- a/Makefile | |
+++ b/Makefile | |
@@ -18,9 +18,9 @@ | |
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN | |
# THE SOFTWARE. | |
-CFLAGS = `pkg-config lua5.1 --cflags` -fPIC -O3 -Wall | |
-LFLAGS = -shared `pkg-config --libs --cflags libzmq` | |
-INSTALL_PATH = `pkg-config lua5.1 --variable=INSTALL_CMOD` | |
+CFLAGS = -fPIC -O3 -Wall -I/opt/local/include | |
+LFLAGS = -shared -L/opt/local/lib -llua -lzmq | |
+INSTALL_PATH = /opt/local/lib/lua/5.1 | |
all: zmq.so | |
@@ -35,7 +35,7 @@ zmq.so: zmq.lo | |
install: zmq.so | |
- install -D -s zmq.so $(INSTALL_PATH)/zmq.so | |
+ install zmq.so $(INSTALL_PATH) | |
clean: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment