1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
| # Common make definitions, customized for each platform
|
| # Definitions required in all program directories to compile and link
| # C programs using gcc.
|
| CC = g++
| COMPILE.c = $(CC) $(CFLAGS) $(CPPFLAGS) -c
| LINK.c = $(CC) $(CFLAGS) $(CPPFLAGS) $(LDFLAGS)
| LDFLAGS=
|
|
| CFLAGS = $(INCLUDE) -I. -I./include -I$(ROOT)/common -I$(ROOT)/common/include -std=c++11 -mcx16 -Wall -DLINUX -D_GNU_SOURCE $(EXTRA)
|
| ifeq ($(pic),y)
| CFLAGS += -fPIC
| endif
|
| RANLIB=echo
| AR=ar
| AWK=awk
|
|
| # Common temp files to delete from each directory.
| TEMPFILES=core core.* *.o temp.* *.out *.a *.so
|
|