4.1155-freebsd-126-freebsd-12freebsd-9.3
Last change
on this file since 4a3e489 was
4a3e489,
checked in by Joel Sherrill <joel.sherrill@…>, on 07/26/12 at 13:17:53
|
loopback01: New test from samples/loopback
|
-
Property mode set to
100644
|
File size:
619 bytes
|
Line | |
---|
1 | # |
---|
2 | # $Id$ |
---|
3 | # |
---|
4 | |
---|
5 | include ../../config.inc |
---|
6 | |
---|
7 | PGM=${ARCH}/loopback01.exe |
---|
8 | |
---|
9 | # optional managers required |
---|
10 | MANAGERS=all |
---|
11 | |
---|
12 | # C source names |
---|
13 | C_FILES = init.c test_main.c |
---|
14 | C_O_FILES = $(C_FILES:%.c=${ARCH}/%.o) |
---|
15 | |
---|
16 | AM_CPPFLAGS += -I $(INSTALL_BASE)/include |
---|
17 | AM_CPPFLAGS += -I ../init01 |
---|
18 | LINK_LIBS += $(INSTALL_BASE)/libbsdc.a |
---|
19 | LINK_LIBS += $(INSTALL_BASE)/libbsd.a ${REL_ARGS} |
---|
20 | |
---|
21 | include $(RTEMS_MAKEFILE_PATH)/Makefile.inc |
---|
22 | include $(RTEMS_CUSTOM) |
---|
23 | include $(PROJECT_ROOT)/make/leaf.cfg |
---|
24 | |
---|
25 | OBJS= $(C_O_FILES) |
---|
26 | CLEAN_ADDITIONS += init.c |
---|
27 | |
---|
28 | all: init.c ${ARCH} $(PGM) |
---|
29 | |
---|
30 | init.c: ../init01/init.c |
---|
31 | cp ../init01/init.c . |
---|
32 | |
---|
33 | $(PGM): $(OBJS) |
---|
34 | -$(make-exe) |
---|
Note: See
TracBrowser
for help on using the repository browser.