view Makefile @ 31:cd7448724d74

top Makefile: add abis program subdir
author Mychaela Falconia <falcon@freecalypso.org>
date Tue, 13 Aug 2024 21:44:30 +0000
parents 42373f9992cc
children e4a0b4a61649
line wrap: on
line source

PROGDIR=abis ater pcm
LIBDIR=	libutil
SUBDIR=	${PROGDIR} ${LIBDIR}
DESTDIR=

all:	${SUBDIR}

abis:	libutil
ater:	libutil
pcm:	libutil

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

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

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} \
		DESTDIR=${DESTDIR} install); done

FRC: