view Makefile @ 36:e4a0b4a61649

top Makefile: add pcm-br
author Mychaela Falconia <falcon@freecalypso.org>
date Wed, 28 Aug 2024 05:02:29 +0000
parents cd7448724d74
children 26c9535df39e
line wrap: on
line source

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

all:	${SUBDIR}

abis:	libutil
ater:	libutil
pcm:	libutil
pcm-br:	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: