summaryrefslogtreecommitdiffstats
path: root/tools/cpu/generic/Makefile.in
blob: f673545ea1c8ea8501dd00ab2f7b8e3076920e60 (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
30
31
32
33
#
# $Id$
#
# RTEMS build tools
# NOTE: of course we can't use any of these tools
#		in this Makefile.  Most notably: install-if-change
#

@SET_MAKE@
srcdir = @srcdir@
top_srcdir = @top_srcdir@
VPATH=@srcdir@

include $(RTEMS_CUSTOM)
include $(PROJECT_ROOT)/make/leaf.cfg

DESTDIR=$(PROJECT_RELEASE)/bin

PGMS=size_rtems

INSTALLED=$(PGMS:%=$(DESTDIR)/%)

all:	$(DESTDIR) $(PGMS) install
	echo $(DESTDIR)

$(DESTDIR):
	[ -d $@ ] || $(MKDIR) $@

install:  $(INSTALLED)

# Install the program
$(DESTDIR)/%: %
	$(make-script)