comparison Makefile @ 7:b97024a897c3

add top Makefile
author Mychaela Falconia <falcon@freecalypso.org>
date Mon, 27 May 2024 21:12:15 +0000
parents
children
comparison
equal deleted inserted replaced
6:191d58f5c24f 7:b97024a897c3
1 SUBDIR= include librtpalloc rtp-mgr
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: