view Makefile @ 6:030143a95fb5

themwi-dump-numdb utility written, compiles
author Mychaela Falconia <falcon@freecalypso.org>
date Sun, 26 Jun 2022 12:17:36 -0800
parents 9f1ce81522ea
children 6560915b0d27
line wrap: on
line source

CC=	gcc
CFLAGS=	-O2

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

all:	${SUBDIR}

utils:	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: