Changeset

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
parents 6878:53a74a80c91a
children 6880:8678def0e53b
files util-src/Makefile
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/util-src/Makefile	Sat Sep 26 23:42:46 2015 +0200
+++ b/util-src/Makefile	Sun Sep 27 00:04:14 2015 +0200
@@ -9,7 +9,7 @@
 CC?=gcc
 CXX?=g++
 LD?=gcc
-CFLAGS+=-ggdb
+CFLAGS+=-ggdb -I$(LUA_INCDIR)
 
 INSTALL_DATA=install -m644
 TARGET?=../util/
@@ -34,7 +34,7 @@
 	$(CC) -o $@ $< $(LDFLAGS) -l$(OPENSSL_LIB)
 
 .c.o:
-	$(CC) $(CFLAGS) -I$(LUA_INCDIR) -c -o $@ $<
+	$(CC) $(CFLAGS) -c -o $@ $<
 
 .o.so:
 	$(LD) -o $@ $< $(LDFLAGS)