# # $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@ VPATH = @srcdir@ RTEMS_ROOT = @top_srcdir@ PROJECT_ROOT = @PROJECT_ROOT@ include $(RTEMS_ROOT)/make/custom/$(RTEMS_BSP).cfg include $(RTEMS_ROOT)/make/leaf.cfg DESTDIR=$(PROJECT_RELEASE)/bin PGMS=size_rtems INSTALLED=$(PGMS:%=$(DESTDIR)/%) all: $(DESTDIR) $(PGMS) install $(DESTDIR): @INSTALL@ $(INSTDIRFLAGS) $@ install: $(INSTALLED) # Install the program $(DESTDIR)/%: % @INSTALL@ $(INSTBINFLAGS) $^ $@