comparison Makefile @ 16:4c2000b3aed7

top Makefile: add mncc
author Mychaela Falconia <falcon@freecalypso.org>
date Sun, 26 Jun 2022 16:33:30 -0800
parents 6560915b0d27
children 7a9eb3df14e6
comparison
equal deleted inserted replaced
15:ccc5ab6d8388 16:4c2000b3aed7
1 CC= gcc 1 CC= gcc
2 CFLAGS= -O2 2 CFLAGS= -O2
3 3
4 PROGDIR=utils 4 PROGDIR=mncc 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 utils: libnumdb libutil 11 utils: libnumdb libutil
11 12
12 ${SUBDIR}: FRC 13 ${SUBDIR}: FRC
13 cd $@; ${MAKE} ${MFLAGS} CC=${CC} CFLAGS="${CFLAGS}" 14 cd $@; ${MAKE} ${MFLAGS} CC=${CC} CFLAGS="${CFLAGS}"
14 15