📄 makefile
字号:
## Copyright (c) 2005, Wei Mingzhi. All rights reserved.## Use, redistributions and modifications of this file is# unrestricted provided the above copyright notice is# preserved.#OBJ = \ bot.o config.o game.o general.o hand.o ini.o main.o \ player.o text.o tile.o util.oHEADERS = \ bot.h game.h general.h hand.h ini.h main.h player.h \ tile.hCC = gccCXX = g++TARGET = mj#BASEFLAGS = -g3 -D_DEBUG=1BASEFLAGS = -s -O3CFLAGS = ${BASEFLAGS} `sdl-config --cflags`LDFLAGS = ${BASEFLAGS} `sdl-config --libs` -lSDL_image -lSDL_mixer -lSDL_ttfall: ${TARGET}${TARGET}: ${OBJ} ${CXX} ${LDFLAGS} -o ${TARGET} ${OBJ}clean: rm -f *.o ${TARGET}distclean: rm -f *.o ${TARGET}%.o: %.cpp ${HEADERS} ${CXX} ${CFLAGS} -c $< -o $@%.o: %.c ${HEADERS} ${CC} ${CFLAGS} -c $< -o $@
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -