source: rtems-libbsd/testsuite/swi01/Makefile @ ee6b343

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 
1include ../../config.inc
2
3include $(RTEMS_MAKEFILE_PATH)/Makefile.inc
4include $(RTEMS_CUSTOM)
5include $(PROJECT_ROOT)/make/leaf.cfg
6
7APP_PIECES = init swi_test
8
9APP_O_FILES = $(APP_PIECES:%=%.o)
10APP_DEP_FILES = $(APP_PIECES:%=%.dep)
11
12APP = app.exe
13
14DEPFLAGS = -MT $@ -MD -MP -MF $*.dep
15AM_CPPFLAGS += -I $(INSTALL_BASE)/include -I.
16
17CFLAGS += $(DEPFLAGS) $(GCCFLAGS) $(AM_CPPFLAGS) -Wno-unused -Wl,-Map,app.map
18
19LINK_LIBS += $(INSTALL_BASE)/libbsd.a
20
21all: $(APP)
22
23$(APP): $(APP_O_FILES)
24        $(CC) $(CFLAGS) $^ $(LINK_LIBS) -o $(APP)
25
26clean:
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.