view Makefile @ 7:b97024a897c3

add top Makefile
author Mychaela Falconia <falcon@freecalypso.org>
date Mon, 27 May 2024 21:12:15 +0000
parents
children
line wrap: on
line source

SUBDIR=	include librtpalloc rtp-mgr
DESTDIR=

all:	${SUBDIR}

${SUBDIR}: FRC config.defs
	cd $@; ${MAKE} ${MFLAGS}

config.defs:
	@echo 'You must run ./configure before make'
	@false

install: FRC
	for i in ${SUBDIR}; do (cd $$i; ${MAKE} ${MFLAGS} \
		DESTDIR=${DESTDIR} install); done

clean: FRC
	rm -f a.out core errs
	for i in ${SUBDIR}; do (cd $$i; ${MAKE} ${MFLAGS} clean); done

FRC: