makefile.gcc
来自「linux下的C语言开发」· GCC 代码 · 共 22 行
GCC
22 行
#-----------------------------------------------## Makefile for unix systems ## using a GNU C compiler ##-----------------------------------------------#CC=gccCFLAGS=-g -Wall -D__USE_FIXED_PROTOTYPES__ -ansi## Compiler flags:# -g -- Enable debugging# -Wall -- Turn on all warnings# -D__USE_FIXED_PROTOTYPES__# -- Force the compiler to use the correct headers# -ansi -- Don't use GNU extensions. Stick to ANSI C.max: max.c @echo "The pre-processor for GCC does not handle this correctly" @echo "You will get an error when compiling this" $(CC) $(CFLAGS) -o max max.cclean: rm -f max
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?