view Makefile @ 43:55f02d4aee79

top Makefile: add ater8
author Mychaela Falconia <falcon@freecalypso.org>
date Fri, 30 Aug 2024 19:04:57 +0000
parents 50a72d4ff498
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: