view Makefile @ 19:b8cb5146e5b4

endp: beginning
author Mychaela Falconia <falcon@freecalypso.org>
date Sun, 07 Jul 2024 02:14:01 +0000
parents be04d84f5468
children 84affc6de365
line wrap: on
line source

SUBDIR=	src
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: