makefile.win

来自「可以通过正则表达式检查输入的字符串是否匹配 使用了boost 库」· WIN 代码 · 共 30 行

WIN
30
字号
# Project: Project1
# Makefile created by Dev-C++ 4.9.8.0

CPP  = g++.exe
CC   = gcc.exe
WINDRES = windres.exe
RES  = 
OBJ  = regex.o $(RES)
LINKOBJ  = regex.o $(RES)
LIBS =  -L"D:/GNU/DevCpp/lib" -L"D:/GNU/DevCpp/extra/lib" -lboost_regex-gcc-1_33_1 
INCS =  -I"D:/GNU/DevCpp/include"  -I"D:/GNU/DevCpp/extra/include" 
CXXINCS =  -I"D:/GNU/DevCpp/include/c++"  -I"D:/GNU/DevCpp/include/c++/mingw32"  -I"D:/GNU/DevCpp/include/c++/backward"  -I"D:/GNU/DevCpp/include"  -I"D:/GNU/DevCpp/extra/include" 
BIN  = Project1.exe
CXXFLAGS = $(CXXINCS) 
CFLAGS = $(INCS) 

.PHONY: all all-before all-after clean clean-custom

all: all-before Project1.exe all-after


clean: clean-custom
	rm -f $(OBJ) $(BIN)

$(BIN): $(LINKOBJ)
	$(CPP) $(LINKOBJ) -o "Project1.exe" $(LIBS)

regex.o: regex.cpp
	$(CPP) -c regex.cpp -o regex.o $(CXXFLAGS)

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?