mirror of
https://github.com/bjc/prosody.git
synced 2025-04-04 21:57:45 +03:00
util-src/Makefile: Move Lua include path into CFLAGS variable
This commit is contained in:
parent
1ea718fb81
commit
0941a2d8f4
1 changed files with 2 additions and 2 deletions
|
@ -9,7 +9,7 @@ OPENSSL_LIB?=crypto
|
|||
CC?=gcc
|
||||
CXX?=g++
|
||||
LD?=gcc
|
||||
CFLAGS+=-ggdb
|
||||
CFLAGS+=-ggdb -I$(LUA_INCDIR)
|
||||
|
||||
INSTALL_DATA=install -m644
|
||||
TARGET?=../util/
|
||||
|
@ -34,7 +34,7 @@ hashes.so: hashes.o
|
|||
$(CC) -o $@ $< $(LDFLAGS) -l$(OPENSSL_LIB)
|
||||
|
||||
.c.o:
|
||||
$(CC) $(CFLAGS) -I$(LUA_INCDIR) -c -o $@ $<
|
||||
$(CC) $(CFLAGS) -c -o $@ $<
|
||||
|
||||
.o.so:
|
||||
$(LD) -o $@ $< $(LDFLAGS)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue