view Makefile @ 5:acb4d86e6ed7

top Makefile added
author Mychaela Falconia <falcon@freecalypso.org>
date Mon, 22 Feb 2021 00:40:14 +0000
parents
children a33d4d8079d2
line wrap: on
line source

PROGDIR=smswrap test
LIBDIR=	libutil
SUBDIR=	${PROGDIR} ${LIBDIR}

all:	${SUBDIR}

smswrap:	libutil
test:		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: