Skip to content
Snippets Groups Projects
Commit 01be90dc authored by Simon Marlow's avatar Simon Marlow
Browse files

[project @ 1997-01-07 13:16:54 by simonm]

Makefile for building objects several ways, for libraries and runtime system
parent 1f48bf4f
No related merge requests found
#-----------------------------------------------------------------------------
# $Id: ways.mk,v 1.1 1997/01/07 13:16:54 simonm Exp $
# Build an object in several different ways, using a subsidiary Makefile.
# MAKEFILE = The Makefile to invoke for each way
# DESCR = Description of object being built
ifndef NoWayAllTarget
all ::
@for i in $(WAY_SUFFIXES); do \
echo; \
echo =========== Making $(DESCR) for way $$i; \
echo; \
$(MAKE) -f $(MAKEFILE) suffix=$$i; \
done
endif
ifndef NoWayInstallTarget
install ::
@for i in $(WAY_SUFFIXES); do \
$(MAKE) -f $(MAKEFILE) suffix=$$i install; \
done
endif
ifndef NoWayCleanTarget
clean ::
@for i in $(WAY_SUFFIXES); do \
$(MAKE) -f $(MAKEFILE) suffix=$$i clean; \
done
endif
# We normally only want to make dependencies once
ifndef NoWayDependTarget
depend ::
@$(MAKE) -f $(MAKEFILE) depend
endif
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment