comparison 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
comparison
equal deleted inserted replaced
8:d5b888e6a05b 9:4229247843c0
1 CC= gcc
2 CFLAGS= -O2
3 SUBDIR= dev libgsmfrp libtest
4
5 all: ${SUBDIR}
6
7 ${SUBDIR}: FRC
8 cd $@; ${MAKE} ${MFLAGS} CC=${CC} CFLAGS="${CFLAGS}"
9
10 clean: FRC
11 rm -f a.out core errs
12 for i in ${SUBDIR}; do (cd $$i; ${MAKE} ${MFLAGS} clean); done
13
14 FRC: