首页 > TAG信息列表 > notdir

makefile notdir函数

notdir使用格式及返回结果 使用notdir函数处理多种后缀文件时未顺利转换 单一文件类型 假设path路径下有a.cpp b.cpp文件,后最均为cpp DIR=path SRC=$(DIR)/*.cpp OBJ=$(notdir %.cpp %.o $(SRC)) 得到的OBJ内容为a.o b.o 多种文件类型 假设path路径下有a.cpp b.cpp d.c文件,后缀有