makefile.gcc
来自「linux下的C语言开发」· GCC 代码 · 共 24 行
GCC
24 行
#-----------------------------------------------## 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.all: tri-prog tri-sub.otri-prog: tri-prog.c $(CC) $(CFLAGS) -o tri-prog tri-prog.ctri-sub.o: tri-sub.c $(CC) $(CFLAGS) -c tri-sub.cclean: rm -f tri-sub.o tri-prog
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?