view Makefile @ 48:3cc26391d24d

ater8: add support for data mode
author Mychaela Falconia <falcon@freecalypso.org>
date Fri, 13 Sep 2024 01:03:43 +0000
parents 55f02d4aee79
children
line wrap: on
line source

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

all:	${SUBDIR}

ater:	libutil
ater8:	libhr 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: