⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 makefile.win

📁 Cat Tom 兄弟的力作.代码是纯C写的
💻 WIN
字号:
# Project: DREAM
# Makefile created by Dev-C++ 4.9.8.0

CPP  = g++.exe
CC   = gcc.exe
WINDRES = windres.exe
RES  = DREAM_private.res
OBJ  = Main.o $(RES)
LINKOBJ  = Main.o $(RES)
LIBS =  -L"D:/Dev-Cpp/lib" -mwindows -lalleg 
INCS =  -I"D:/Dev-Cpp/include" 
CXXINCS =  -I"D:/Dev-Cpp/include/c++"  -I"D:/Dev-Cpp/include/c++/mingw32"  -I"D:/Dev-Cpp/include/c++/backward"  -I"D:/Dev-Cpp/include" 
BIN  = DREAM.exe
CXXFLAGS = $(CXXINCS)-lalleg   -lalleg
CFLAGS = $(INCS)-lalleg   -lalleg

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

all: all-before DREAM.exe all-after


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

$(BIN): $(LINKOBJ)
	$(CC) $(LINKOBJ) -o "DREAM.exe" $(LIBS)

Main.o: Main.c 
	$(CC) -c Main.c -o Main.o $(CFLAGS)

DREAM_private.res: DREAM_private.rc 
	$(WINDRES) -i DREAM_private.rc -I rc -o DREAM_private.res -O coff 

⌨️ 快捷键说明

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