# HG changeset patch # User Mychaela Falconia # Date 1716844335 0 # Node ID b97024a897c32d9f4303659220a5a52082b2b59d # Parent 191d58f5c24f76b1893992854ca6a2fb2b619a86 add top Makefile diff -r 191d58f5c24f -r b97024a897c3 Makefile --- /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: