source: rtems-libbsd/testsuite/timeout01/Makefile @ 4bc83af

4.1155-freebsd-126-freebsd-12freebsd-9.3
Last change on this file since 4bc83af was 4bc83af, checked in by Joel Sherrill <joel.sherrill@…>, on 05/17/12 at 19:56:15

timeout - Use standard Makefile template

  • Property mode set to 100644
File size: 606 bytes
Line 
1include ../../config.inc
2
3APP = timeout01
4PGM=${ARCH}/$(APP).exe
5
6# optional managers required
7MANAGERS=all
8
9# C source names
10C_FILES = init.c timeout_helper.c timeout_test.c
11C_O_FILES = $(C_FILES:%.c=${ARCH}/%.o)
12
13AM_CPPFLAGS += -I $(INSTALL_BASE)/include
14LINK_LIBS += $(INSTALL_BASE)/libbsd.a ${REL_ARGS}
15CFLAGS += $(DEPFLAGS) $(GCCFLAGS) $(AM_CPPFLAGS) -Wno-unused -Wl,-Map,$(APP).map
16
17include $(RTEMS_MAKEFILE_PATH)/Makefile.inc
18include $(RTEMS_CUSTOM)
19include $(PROJECT_ROOT)/make/leaf.cfg
20
21OBJS= $(C_O_FILES)
22CLEAN_ADDITIONS += $(APP).map *.dep
23
24all:    ${ARCH} $(PGM)
25
26$(PGM): $(OBJS)
27        -$(make-exe)
Note: See TracBrowser for help on using the repository browser.