From 6321e984e1974c70a223579f5dcf2edda53ecd1c Mon Sep 17 00:00:00 2001 From: Xuan Sang LE Date: Thu, 25 Oct 2018 16:03:39 +0200 Subject: [PATCH] Update Makefile --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index a1a421a..fe93f63 100644 --- a/Makefile +++ b/Makefile @@ -20,7 +20,7 @@ PLUGINLIBS = -lm -lpthread -lsqlite3 libantd.$(EXT) PCFLAGS=-W -Wall -g -std=c99 -D DEBUG $(PPF_FLAG) -D USE_DB main: lua $(PLUGINSDEP) $(PLUGINS) api lib lua: - cd 3rd/lua-5.3.4 && make $(FL_LUA) + cd 3rd/lua-5.3.4 && CC=$(CC) make $(FL_LUA) %.o: %.c $(CC) $(PCFLAGS) -fPIC $(INCFLAG) -c $< -o $@