comparison Makefile @ 2:5b69dfc789f2

top Makefile added
author Mychaela Falconia <falcon@freecalypso.org>
date Thu, 11 Feb 2021 23:08:39 +0000
parents
children 2e4d02c1ee2d
comparison
equal deleted inserted replaced
1:2071b28cd0c7 2:5b69dfc789f2
1 PROGDIR=simtool
2 LIBDIR= libcommon
3 SUBDIR= ${PROGDIR} ${LIBDIR}
4
5 all: ${SUBDIR}
6
7 simtool: libcommon
8
9 ${SUBDIR}: FRC
10 cd $@; ${MAKE} ${MFLAGS}
11
12 clean: FRC
13 rm -f a.out core errs
14 for i in ${SUBDIR}; do (cd $$i; ${MAKE} ${MFLAGS} clean); done
15
16 install: FRC
17 for i in ${PROGDIR}; do (cd $$i; ${MAKE} ${MFLAGS} install); done
18
19 FRC: