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