4.1155-freebsd-126-freebsd-12freebsd-9.3
Last change
on this file since ee6b343 was
ee6b343,
checked in by Christian Mauderer <christian.mauderer@…>, on 05/10/12 at 13:06:10
|
Provide SWI(9) and TIMEOUT(9)
|
-
Property mode set to
100644
|
File size:
619 bytes
|
Line | |
---|
1 | include ../../config.inc |
---|
2 | |
---|
3 | include $(RTEMS_MAKEFILE_PATH)/Makefile.inc |
---|
4 | include $(RTEMS_CUSTOM) |
---|
5 | include $(PROJECT_ROOT)/make/leaf.cfg |
---|
6 | |
---|
7 | APP_PIECES = init swi_test |
---|
8 | |
---|
9 | APP_O_FILES = $(APP_PIECES:%=%.o) |
---|
10 | APP_DEP_FILES = $(APP_PIECES:%=%.dep) |
---|
11 | |
---|
12 | APP = app.exe |
---|
13 | |
---|
14 | DEPFLAGS = -MT $@ -MD -MP -MF $*.dep |
---|
15 | AM_CPPFLAGS += -I $(INSTALL_BASE)/include -I. |
---|
16 | |
---|
17 | CFLAGS += $(DEPFLAGS) $(GCCFLAGS) $(AM_CPPFLAGS) -Wno-unused -Wl,-Map,app.map |
---|
18 | |
---|
19 | LINK_LIBS += $(INSTALL_BASE)/libbsd.a |
---|
20 | |
---|
21 | all: $(APP) |
---|
22 | |
---|
23 | $(APP): $(APP_O_FILES) |
---|
24 | $(CC) $(CFLAGS) $^ $(LINK_LIBS) -o $(APP) |
---|
25 | |
---|
26 | clean: |
---|
27 | rm -f app.map $(APP) $(APP_O_FILES) $(APP_DEP_FILES) |
---|
28 | |
---|
29 | -include $(APP_DEP_FILES) |
---|
Note: See
TracBrowser
for help on using the repository browser.