view Makefile @ 12:1ebc312f4b69

add README
author Mychaela Falconia <falcon@freecalypso.org>
date Wed, 13 Dec 2023 05:53:17 +0000
parents 3d6cfb615d90
children 78319ed870dc
line wrap: on
line source

SUBDIR=	include libnumdb libnumutil utils

INSTALL_PREFIX=	/opt/themwi

all:	${SUBDIR}

utils:	libnumdb libnumutil

${SUBDIR}: FRC
	cd $@; ${MAKE} ${MFLAGS}

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

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

FRC: