1
0
Files
irix-657m-src/stand/arcs/ide/IP20/Makefile
2022-09-29 17:59:04 +03:00

44 lines
979 B
Makefile

#
# Makefile for the IDE libraries.
#
# This makefile normally builds two libraries, libide.a for IDE standalone
# programs and libpide.a for PROM use.
#
# Users can say either "make default" or "make prom" to make the
# desired version.
#
DIAGDEPTH=..
include ../Makedefs
SUBDIRS= dsp hpc1 parallel pon time video
PSUBDIRS= pon
LTARGETS= ${LIBNAME}
TARGETS= ${LTARGETS}
COMMONPREF=$(CPUBOARD)
include ../Makerules
default: $(TDIRS) ${_FORCE}
@for d in ${SUBDIRS}; do \
echo "======\tcd $$d; ${MAKE} _lib"; \
cd $$d; ${MAKE} _lib; cd ..; \
done
prom: ${TDIRS} ${_FORCE}
@for d in ${PSUBDIRS}; do \
echo "======\tcd $$d; ${MAKE} LIBTYPE=p _plib"; \
cd $$d; ${MAKE} LIBTYPE=p _plib ; cd ..; \
done
# Common rules which we implement at this level
# and also pass on to sub-makes
$(COMMONTARGS):
@for i in ${SUBDIRS}; do \
echo "======\tcd $$i; ${MAKE} $@"; \
cd $$i; ${MAKE} $@; cd ..; \
done
@if [ "$@" = "clobber" ]; then \
rm -rf $(TARGETDIR) ;\
fi