# 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) -g -std=c++11 -mcx16 -Wall -DLINUX -D_GNU_SOURCE $(EXTRA)
|
RANLIB=echo
|
AR=ar
|
AWK=awk
|
|
|
# Common temp files to delete from each directory.
|
TEMPFILES=core core.* *.o temp.* *.out *.a *.so
|