makefile
来自「Linux游戏编程源码」· 代码 · 共 25 行
TXT
25 行
CFLAGS=-W -Wall -ggdb -O2CC=gcc# NOTE: this is likely to be different on your system!# Try 'locate libtcl' if you're not sure.TCL_LIB=-ltcl8.3.PHONY: cleandefault: @echo 'Please check the TCL_LIB variable in the Makefile, then run make all.'clean: rm -f tclshell tclshell2 rm -f *~all: tclshell tclshell2tclshell: tclshell.c $(CC) $(CFLAGS) tclshell.c -o tclshell $(TCL_LIB)tclshell2: tclshell2.c $(CC) $(CFLAGS) tclshell2.c -o tclshell2 $(TCL_LIB)
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?