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