FreeCalypso > hg > themwi-rtp-mgr
changeset 7:b97024a897c3
add top Makefile
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Mon, 27 May 2024 21:12:15 +0000 |
parents | 191d58f5c24f |
children | 7e2b24fc097b |
files | Makefile |
diffstat | 1 files changed, 21 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Makefile Mon May 27 21:12:15 2024 +0000 @@ -0,0 +1,21 @@ +SUBDIR= include librtpalloc rtp-mgr +DESTDIR= + +all: ${SUBDIR} + +${SUBDIR}: FRC config.defs + cd $@; ${MAKE} ${MFLAGS} + +config.defs: + @echo 'You must run ./configure before make' + @false + +install: FRC + for i in ${SUBDIR}; do (cd $$i; ${MAKE} ${MFLAGS} \ + DESTDIR=${DESTDIR} install); done + +clean: FRC + rm -f a.out core errs + for i in ${SUBDIR}; do (cd $$i; ${MAKE} ${MFLAGS} clean); done + +FRC: