comparison Makefile @ 22:7a9eb3df14e6

top Makefile: add mtctest
author Mychaela Falconia <falcon@freecalypso.org>
date Tue, 28 Jun 2022 18:27:44 -0800
parents 4c2000b3aed7
children 2b072ad13de6
comparison
equal deleted inserted replaced
21:cc0e1c6e33c3 22:7a9eb3df14e6
1 CC= gcc 1 CC= gcc
2 CFLAGS= -O2 2 CFLAGS= -O2
3 3
4 PROGDIR=mncc utils 4 PROGDIR=mncc mtctest utils
5 LIBDIR= libnumdb libutil 5 LIBDIR= libnumdb libutil
6 SUBDIR= ${PROGDIR} ${LIBDIR} 6 SUBDIR= ${PROGDIR} ${LIBDIR}
7 7
8 all: ${SUBDIR} 8 all: ${SUBDIR}
9 9
10 mncc: libnumdb libutil 10 mncc: libnumdb libutil
11 utils: libnumdb libutil 11 mtctest: libnumdb libutil
12 utils: libnumdb libutil
12 13
13 ${SUBDIR}: FRC 14 ${SUBDIR}: FRC
14 cd $@; ${MAKE} ${MFLAGS} CC=${CC} CFLAGS="${CFLAGS}" 15 cd $@; ${MAKE} ${MFLAGS} CC=${CC} CFLAGS="${CFLAGS}"
15 16
16 clean: FRC 17 clean: FRC