view Makefile @ 39:1e83071186cf

.hgignore: no more abis here
author Mychaela Falconia <falcon@freecalypso.org>
date Thu, 29 Aug 2024 19:44:39 +0000
parents 26c9535df39e
children 50a72d4ff498
line wrap: on
line source

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

all:	${SUBDIR}

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: