view Makefile @ 9:e3d16d490ce2

pcm: implement dmw-on and dmw-off commands
author Mychaela Falconia <falcon@freecalypso.org>
date Sun, 23 Jun 2024 19:34:08 +0000
parents 90e78243d367
children 42373f9992cc
line wrap: on
line source

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

all:	${SUBDIR}

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: