摘要: # SOURCES = $(wildcard ./src/*.cpp) #指定源文件列表, HEADERS = $(wildcard ./inc/*.h) OBJS = $(patsubst %.cpp,%.o,$(SOURCES)) #patsubst是把后面文件列表中所有.c结尾的文件替换成.o 阅读全文
posted @ 2020-06-14 21:24 cumtchw 阅读(173) 评论(0) 推荐(0) 编辑
摘要: CC = gcc CPP = g++ AR = ar RM = rm -f #Define the resource compiler. RC = windres ## debug flag DBG_ENABLE := 1 OS = $(shell uname) ## source file pat 阅读全文
posted @ 2020-06-14 21:22 cumtchw 阅读(130) 评论(0) 推荐(0) 编辑