-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
snake_09_cpp: 上传09年用Dev C++写的“精简版贪吃蛇”
- Loading branch information
Showing
7 changed files
with
538 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
# Project: �����̰���� | ||
# Makefile created by Dev-C++ 4.9.9.2 | ||
|
||
CPP = g++.exe -D__DEBUG__ | ||
CC = gcc.exe -D__DEBUG__ | ||
WINDRES = windres.exe | ||
RES = ̰����_private.res | ||
OBJ = main.o $(RES) | ||
LINKOBJ = main.o $(RES) | ||
LIBS = -L"C:/Program Files/DEV-CPP/Lib" -mwindows -lgmon -pg -g3 | ||
INCS = -I"C:/Program Files/DEV-CPP/include" | ||
CXXINCS = -I"C:/Program Files/DEV-CPP/lib/gcc/mingw32/3.4.2/include" -I"C:/Program Files/DEV-CPP/include/c++/3.4.2/backward" -I"C:/Program Files/DEV-CPP/include/c++/3.4.2/mingw32" -I"C:/Program Files/DEV-CPP/include/c++/3.4.2" -I"C:/Program Files/DEV-CPP/include" | ||
BIN = ̰����.exe | ||
CXXFLAGS = $(CXXINCS) -pg -g3 | ||
CFLAGS = $(INCS) -pg -g3 | ||
RM = rm -f | ||
|
||
.PHONY: all all-before all-after clean clean-custom | ||
|
||
all: all-before ̰����.exe all-after | ||
|
||
|
||
clean: clean-custom | ||
${RM} $(OBJ) $(BIN) | ||
|
||
$(BIN): $(OBJ) | ||
$(CPP) $(LINKOBJ) -o "̰����.exe" $(LIBS) | ||
|
||
main.o: main.cpp | ||
$(CPP) -c main.cpp -o main.o $(CXXFLAGS) | ||
|
||
̰����_private.res: ̰����_private.rc | ||
$(WINDRES) -i ̰����_private.rc --input-format=rc -o ̰����_private.res -O coff |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# snake_09_cpp | ||
该目录下为29大约在2009年(14岁)左右的时候使用Dev C++开发的Windows Only的贪吃蛇游戏,由于年代久远了,Dev C++已经在Win10上跑不起来了,所以现在重新上传至Github的时候也只是根据找到的历史存档直接上传上来的,并没有在如今这个时代重新进行编译和测试。因此对于依然还想尝试build from source的朋友们,我只能说……祝你好运…… | ||
|
||
当然,如果只是想玩一玩的话,csdn和pudn上都有我当年上传的,包含有预编译二进制的压缩包,大家可以到这些地方去下载来直接玩耍: | ||
|
||
- https://download.csdn.net/download/czy_133/1742022 | ||
- http://www.pudn.com/Download/item/id/1064306.html |
Oops, something went wrong.