make.defines

来自「unix环境高级编程的源代码」· DEFINES 代码 · 共 24 行

DEFINES
24
字号
# Common make definitions for GNU make under 386BSD.

# Definitions required in all program directories to compile and link
# C programs using gcc.  We also have to get rid of Sun's "-target" options,
# as gcc doesn't grok it.

CC=gcc
COMPILE.c=$(CC) $(CFLAGS) $(CPPFLAGS) -c
NOANSICOMPILE.c=$(CC) $(NOANSICFLAGS) $(CPPFLAGS) -c
LINK.c=$(CC) $(CFLAGS) $(CPPFLAGS) $(LDFLAGS)
LDLIBS=/home/hop/lecture/apue/SourceCode/libmisc.a

# Common definitions

CFLAGS    = -ggdb -Wall -Wstrict-prototypes -O        #th
CFLAGSO    = -ggdb -Wall -Wstrict-prototypes -O        #th
# We don't normally use -O with gcc on the sparc.

LIB    = /home/hop/lecture/apue/SourceCode/libmisc.a
# Our library that almost every program needs.

TEMPFILES = core core.* *.o temp.* *.out typescript*
# Common temp files to delete from each directory.

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?