forked from Imagelibrary/rtems
43 lines
691 B
Makefile
43 lines
691 B
Makefile
##
|
|
## $Id$
|
|
##
|
|
|
|
AUTOMAKE_OPTIONS = foreign 1.4
|
|
|
|
TEST = stackchk
|
|
|
|
MANAGERS = io
|
|
|
|
C_FILES = blow.c init.c task1.c
|
|
C_O_FILES = $(C_FILES:%.c=${ARCH}/%.o)
|
|
|
|
H_FILES = system.h
|
|
noinst_HEADERS = $(H_FILES)
|
|
|
|
DOCTYPES = scn
|
|
DOCS = $(DOCTYPES:%=$(TEST).%)
|
|
|
|
SRCS = $(DOCS) $(C_FILES) $(H_FILES)
|
|
OBJS = $(C_O_FILES)
|
|
|
|
PRINT_SRCS = $(DOCS)
|
|
|
|
PGM = ${ARCH}/$(TEST).exe
|
|
|
|
include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
|
|
include $(RTEMS_ROOT)/make/leaf.cfg
|
|
include $(top_srcdir)/libtests.am
|
|
|
|
#
|
|
# (OPTIONAL) Add local stuff here using +=
|
|
#
|
|
|
|
${PGM}: $(OBJS) $(LINK_FILES)
|
|
$(make-exe)
|
|
|
|
all-local: $(ARCH) $(TMPINSTALL_FILES)
|
|
|
|
EXTRA_DIST = $(C_FILES) $(DOCS)
|
|
|
|
include $(top_srcdir)/../../../../automake/local.am
|