wangzhengquan
2020-05-25 88eda4c0c73d09dee323d8e0b6a0c9287464beff
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# Common make definitions, customized for each platform
 
# Definitions required in all program directories to compile and link
# C programs using gcc.
 
CC=gcc
COMPILE.c=$(CC) $(CFLAGS) $(CPPFLAGS) -c
LINK.c=$(CC) $(CFLAGS) $(CPPFLAGS) $(LDFLAGS)
LDFLAGS=
LDDIR=-L$(ROOT)/lib
LDLIBS=$(LDDIR) -lapue $(EXTRALIBS)
CFLAGS=-ansi -I$(ROOT)/include -std=c++11 -Wall -DMACOS -D_DARWIN_C_SOURCE $(EXTRA)
RANLIB=ranlib
AR=ar
AWK=awk
LIBAPUE=$(ROOT)/lib/libapue.a
 
# Common temp files to delete from each directory.
TEMPFILES=core core.* *.o temp.* *.out