summaryrefslogtreecommitdiffstats
path: root/c/src/tests/samples/sample.am
blob: dbd1482b9d86efef9edcd1cd7d29ef94fa6675ad (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
AM_CPPFLAGS += @DEFS@

project_bspdir=$(PROJECT_ROOT)/@RTEMS_BSP@

$(project_bspdir)/samples:
	@$(mkinstalldirs) $@
$(project_bspdir)/tests:
	@$(mkinstalldirs) $@

$(project_bspdir)/samples/$(SAMPLE)$(LIB_VARIANT).exe: $(PGM)
	$(INSTALL_PROGRAM) $< $@

$(project_bspdir)/tests/$(SAMPLE)$(LIB_VARIANT).exe: $(PGM)
	$(INSTALL_PROGRAM) $< $@

TMPINSTALL_FILES += \
$(project_bspdir)/tests \
$(project_bspdir)/tests/$(SAMPLE)$(LIB_VARIANT).exe \
$(project_bspdir)/samples \
$(project_bspdir)/samples/$(SAMPLE)$(LIB_VARIANT).exe