view Makefile @ 7:d0b86b144577

top Makefile: add mtctest
author Mychaela Falconia <falcon@freecalypso.org>
date Sun, 09 Jun 2024 01:56:27 +0000
parents ce450869db09
children
line wrap: on
line source

PROGDIR=mncc mtctest
LIBDIR=	libutil
SUBDIR=	${PROGDIR} ${LIBDIR}
DESTDIR=

all:	${SUBDIR}

mncc:		libutil
mtctest:	libutil

${SUBDIR}: FRC config.defs
	cd $@; ${MAKE} ${MFLAGS}

config.defs:
	@echo 'You must run ./configure before make'
	@false

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

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

FRC: