util-src/Makefile: Move Lua include path into CFLAGS variable

This commit is contained in:
Kim Alvefur 2015-09-27 00:04:14 +02:00
parent 1ea718fb81
commit 0941a2d8f4

View file

@ -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)