1 Star 0 Fork 2

早餐吃什么 / DataMatrix

forked from wyang_top / DataMatrix 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
subMakefile 565 Bytes
AI 代码解读
一键复制 编辑 原始数据 按行查看 历史
早餐吃什么 提交于 2024-01-09 14:06 . format the code.
SRCS := $(wildcard *.c)
OBJS := $(patsubst %.c,$(TOP_DIR)/$(OBJS_DIR)/%.o,$(SRCS))
DEPS := $(patsubst %.c,$(TOP_DIR)/$(OBJS_DIR)/%.d,$(SRCS))
all:$(OBJS)
#build depending files(-MM:create depending relationship, -MT:redefind target name, -MF:write the relationship information into a file)
$(DEPS):$(TOP_DIR)/$(OBJS_DIR)/%.d:%.c
@$(CC) $(CCFLAGS) $(LDFLAGS) $(CFLAGS) -MM -MT $(patsubst %.d, %.o, $@) -MF $@ $<
-include $(DEPS)
$(OBJS):$(TOP_DIR)/$(OBJS_DIR)/%.o:%.c
@echo -e "\033[40;33mcompile \033[0m" $<
@$(CC) $(CCFLAGS) $(LDFLAGS) $(CFLAGS) -c $< -o $@
1
https://gitee.com/hongp/DataMatrix.git
git@gitee.com:hongp/DataMatrix.git
hongp
DataMatrix
DataMatrix
master

搜索帮助