1
0
mirror of https://github.com/lxsang/antd-lua-plugin synced 2024-12-27 09:58:21 +01:00

Update Makefile

This commit is contained in:
Xuan Sang LE 2018-10-25 16:03:39 +02:00 committed by GitHub
parent 6b7af06351
commit 6321e984e1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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