28 Star 113 Fork 43

calvinwilliams/restserver

加入 Gitee
与超过 1400万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
makefile 1.59 KB
一键复制 编辑 原始数据 按行查看 历史
calvinwilliams 提交于 2020-02-29 12:10 +08:00 . UPDATE TO V0.8.0E
# 此文件由makeobj.sh自动生成
############################################################
# 项目名 :
# 模块名 :
# 备 注 :
############################################################
###### 源文件配置区
#@ c_FILE
c_FILE = \
IDL_restserver_conf.dsc.c \
publib.c \
main.c \
tcpmain.c \
process_http_request.c \
c_FILE2 = \
list.c \
LOGC.c \
rest_server_context.c \
rest_service_controler.c \
restserver_api.c \
###### 目标文件、安装目录配置区
include makeinstall
BIN = restserver
BININST = $(_BININST)
NOINST_OBJ = sizeof
LIB = librestserver_api.so
LIBINST = $(_LIBINST)
HDER = \
LOGC.h \
restserver_api.h \
HDERINST = $(HOME)/include/restserver
###### 编译选项
CFLAGS = $(_CFLAGS) \
-I$(HOME)/include/fasterjson \
-I$(HOME)/include/fasterhttp \
-I$(HOME)/include/tcpdaemon \
-std=gnu99 \
CPPFLAGS = $(_CFLAGS) \
###### 链接选项
LFLAGS = $(_LFLAGS) \
-L$(HOME) \
-lfasterjson \
-lfasterhttp \
-ltcpdaemon \
-ldl \
###### 额外宏定义区
CLEAN_ADDITION =
PREMAKE =
###### 加载mktpl模板库
#@ make_all
#@ make_clean_test
#@ make_clean
#@ make_install
#@ make_install_BININST
#@ make_install_HDERINST
#@ make_install_DFTHDERINST
#@ make_uninstall
#@ make_uninstall_BININST
#@ make_uninstall_HDERINST
#@ make_uninstall_DFTHDERINST
include $(MKTPL2_HOME)/makeobj_$(MKTPL2_OS).inc
###### 目标文件依赖关系
restserver : $(c_FILE_o) librestserver_api.so
$(CC) -o $@ $(c_FILE_o) librestserver_api.so $(LFLAGS)
librestserver_api.so : $(c_FILE2_o)
$(CC) -o $@ $(c_FILE2_o) $(SOFLAGS) $(LFLAGS)
sizeof : sizeof.o
$(CC) -o $@ sizeof.o $(LFLAGS)
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C
1
https://gitee.com/calvinwilliams/restserver.git
git@gitee.com:calvinwilliams/restserver.git
calvinwilliams
restserver
restserver
release

搜索帮助