view Makefile @ 164:e6263e1b16f8

misc programs don't depend on libutil after the split
author Mychaela Falconia <falcon@freecalypso.org>
date Fri, 26 Feb 2021 21:48:23 +0000
parents 4cd2023f56a6
children 123dc7370581
line wrap: on
line source

PROGDIR=misc offline simtool uicc
LIBDIR=	libcommon libutil
SUBDIR=	${PROGDIR} ${LIBDIR}

all:	${SUBDIR}

misc:		libcommon
offline:	libutil
simtool:	libcommon libutil
uicc:		libcommon libutil

${SUBDIR}: FRC
	cd $@; ${MAKE} ${MFLAGS}

clean: FRC
	rm -f a.out core errs
	for i in ${SUBDIR}; do (cd $$i; ${MAKE} ${MFLAGS} clean); done

install: FRC
	for i in ${PROGDIR}; do (cd $$i; ${MAKE} ${MFLAGS} install); done

FRC: