view Makefile @ 9:4229247843c0

top Makefile: initial version
author Mychaela Falconia <falcon@freecalypso.org>
date Sat, 19 Nov 2022 23:09:44 +0000
parents
children f88817a233fb
line wrap: on
line source

CC=	gcc
CFLAGS=	-O2
SUBDIR=	dev libgsmfrp libtest

all:	${SUBDIR}

${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

FRC: