view Makefile @ 14:aea422af79dd

themwi-short-dial utility written, compiles
author Mychaela Falconia <falcon@freecalypso.org>
date Sun, 26 Jun 2022 14:42:33 -0800
parents 6560915b0d27
children 4c2000b3aed7
line wrap: on
line source

CC=	gcc
CFLAGS=	-O2

PROGDIR=utils
LIBDIR=	libnumdb libutil
SUBDIR=	${PROGDIR} ${LIBDIR}

all:	${SUBDIR}

utils:	libnumdb libutil

${SUBDIR}: FRC
	cd $@; ${MAKE} ${MFLAGS} CC=${CC} CFLAGS="${CFLAGS}"

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} install); done

FRC: