view Makefile @ 13:c0bfd300b6e5

add INSTALL
author Mychaela Falconia <falcon@freecalypso.org>
date Wed, 13 Dec 2023 06:07:40 +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: