# Project: 学生成绩管理系统 # Makefile created by Dev-C++ 5.11 CPP = g++.exe CC = gcc.exe WINDRES = windres.exe OBJ = 课设.o LINKOBJ = 课设.o LIBS = -L"D:/下载/工具/Dev-Cpp/MinGW64/lib" -L"D:/下载/工具/Dev-Cpp/MinGW64/x86_64-w64-mingw32/lib" -static-libgcc INCS = -I"D:/下载/工具/Dev-Cpp/MinGW64/include" -I"D:/下载/工具/Dev-Cpp/MinGW64/x86_64-w64-mingw32/include" -I"D:/下载/工具/Dev-Cpp/MinGW64/lib/gcc/x86_64-w64-mingw32/4.9.2/include" CXXINCS = -I"D:/下载/工具/Dev-Cpp/MinGW64/include" -I"D:/下载/工具/Dev-Cpp/MinGW64/x86_64-w64-mingw32/include" -I"D:/下载/工具/Dev-Cpp/MinGW64/lib/gcc/x86_64-w64-mingw32/4.9.2/include" -I"D:/下载/工具/Dev-Cpp/MinGW64/lib/gcc/x86_64-w64-mingw32/4.9.2/include/c++" BIN = 学生成绩管理系统.exe CXXFLAGS = $(CXXINCS) CFLAGS = $(INCS) RM = rm.exe -f .PHONY: all all-before all-after clean clean-custom all: all-before $(BIN) all-after clean: clean-custom ${RM} $(OBJ) $(BIN) $(BIN): $(OBJ) $(CPP) $(LINKOBJ) -o $(BIN) $(LIBS) 课设.o: 课设.cpp $(CPP) -c 课设.cpp -o 课设.o $(CXXFLAGS)