This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
tango-certstore/make/application.mk
fengweihao d02f57e5ee [DEL]
1.删除openssl锁初始化函数
[Modify]
1.重构并修改redis异步回调函数代码
2.修改Makefiel,对moodycamel_field_stat2.cpp文件使用g++编译
[Add]
1.添加屏幕信息统计库libMESA_field_stat2.a
2.添加对C++静态库C调用的内部封装接口文件
2018-07-05 14:05:28 +08:00

33 lines
689 B
Makefile

# target to create object directory
$(OBJ_DIR):
mkdir $(OBJ_DIR)
mkdir $(OBJ_DIR_CPP)
# applications object suffix rule
$(OBJ_DIR)/%.o: %.c
$(COMPILE)
$(OBJ_DIR)/%.o: %.S
$(ASSEMBLE)
$(OBJ_DIR_CPP)/%.o: %.cpp
$(CPPCOMPILE)
# application config check and rules
-include $(OBJS:.o=.d)
-include $(OBJS_CPP:.o=.d)
application-target: $(TARGET)
$(TARGET): $(OBJ_DIR) $(OBJS) $(LIBS_LIST) $(OBJ_DIR_CPP) $(OBJS_CPP)
$(CC) -o $@ $(OBJS) $(OBJS_CPP) $(LDFLAGS_PATH) $(LIBS_LIST) $(LDFLAGS_GLOBAL)
#$(TARGET): $(OBJ_DIR) $(OBJS) $(LIBS_LIST)
# $(CC) -o $@ $(OBJS) $(LDFLAGS_PATH) $(LIBS_LIST) $(LDFLAGS_GLOBAL)
$(TARGET).stp: $(TARGET)
$(STRIP) -o $(TARGET).stp $(TARGET)