comparison Makefile @ 5:acb4d86e6ed7

top Makefile added
author Mychaela Falconia <falcon@freecalypso.org>
date Mon, 22 Feb 2021 00:40:14 +0000
parents
children a33d4d8079d2
comparison
equal deleted inserted replaced
4:c2de42994e57 5:acb4d86e6ed7
1 PROGDIR=smswrap test
2 LIBDIR= libutil
3 SUBDIR= ${PROGDIR} ${LIBDIR}
4
5 all: ${SUBDIR}
6
7 smswrap: libutil
8 test: libutil
9
10 ${SUBDIR}: FRC
11 cd $@; ${MAKE} ${MFLAGS}
12
13 clean: FRC
14 rm -f a.out core errs
15 for i in ${SUBDIR}; do (cd $$i; ${MAKE} ${MFLAGS} clean); done
16
17 install: FRC
18 for i in ${PROGDIR}; do (cd $$i; ${MAKE} ${MFLAGS} install); done
19
20 FRC: