Software /
code /
prosody
Comparison
util-src/Makefile @ 6879:187112928174
util-src/Makefile: Move Lua include path into CFLAGS variable
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sun, 27 Sep 2015 00:04:14 +0200 |
parent | 6878:53a74a80c91a |
child | 6880:8678def0e53b |
comparison
equal
deleted
inserted
replaced
6878:53a74a80c91a | 6879:187112928174 |
---|---|
7 IDN_LIB?=idn | 7 IDN_LIB?=idn |
8 OPENSSL_LIB?=crypto | 8 OPENSSL_LIB?=crypto |
9 CC?=gcc | 9 CC?=gcc |
10 CXX?=g++ | 10 CXX?=g++ |
11 LD?=gcc | 11 LD?=gcc |
12 CFLAGS+=-ggdb | 12 CFLAGS+=-ggdb -I$(LUA_INCDIR) |
13 | 13 |
14 INSTALL_DATA=install -m644 | 14 INSTALL_DATA=install -m644 |
15 TARGET?=../util/ | 15 TARGET?=../util/ |
16 | 16 |
17 ALL=encodings.so hashes.so net.so pposix.so signal.so table.so | 17 ALL=encodings.so hashes.so net.so pposix.so signal.so table.so |
32 | 32 |
33 hashes.so: hashes.o | 33 hashes.so: hashes.o |
34 $(CC) -o $@ $< $(LDFLAGS) -l$(OPENSSL_LIB) | 34 $(CC) -o $@ $< $(LDFLAGS) -l$(OPENSSL_LIB) |
35 | 35 |
36 .c.o: | 36 .c.o: |
37 $(CC) $(CFLAGS) -I$(LUA_INCDIR) -c -o $@ $< | 37 $(CC) $(CFLAGS) -c -o $@ $< |
38 | 38 |
39 .o.so: | 39 .o.so: |
40 $(LD) -o $@ $< $(LDFLAGS) | 40 $(LD) -o $@ $< $(LDFLAGS) |
41 | 41 |