comparison Makefile @ 4:be04d84f5468

add top Makefile
author Mychaela Falconia <falcon@freecalypso.org>
date Fri, 05 Jul 2024 18:52:34 +0000
parents
children 84affc6de365
comparison
equal deleted inserted replaced
3:d10ea5dc61b3 4:be04d84f5468
1 SUBDIR= src
2 DESTDIR=
3
4 all: ${SUBDIR}
5
6 ${SUBDIR}: FRC config.defs
7 cd $@; ${MAKE} ${MFLAGS}
8
9 config.defs:
10 @echo 'You must run ./configure before make'
11 @false
12
13 #install: FRC
14 # for i in ${SUBDIR}; do (cd $$i; ${MAKE} ${MFLAGS} \
15 # DESTDIR=${DESTDIR} install); done
16
17 clean: FRC
18 rm -f a.out core errs
19 for i in ${SUBDIR}; do (cd $$i; ${MAKE} ${MFLAGS} clean); done
20
21 FRC: