# HG changeset patch # User Mychaela Falconia # Date 1719163038 0 # Node ID 90e78243d367a1e958718d68bc3cb033af9b787a # Parent c03ec046471f1d281241b10643e5e7af78929e9e add top Makefile diff -r c03ec046471f -r 90e78243d367 Makefile --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Makefile Sun Jun 23 17:17:18 2024 +0000 @@ -0,0 +1,25 @@ +PROGDIR=pcm +LIBDIR= libutil +SUBDIR= ${PROGDIR} ${LIBDIR} +DESTDIR= + +all: ${SUBDIR} + +pcm: libutil + +${SUBDIR}: FRC config.defs + cd $@; ${MAKE} ${MFLAGS} + +config.defs: + @echo 'You must run ./configure before make' + @false + +clean: FRC + rm -f a.out core errs + for i in ${SUBDIR}; do (cd $$i; ${MAKE} ${MFLAGS} clean); done + +install: FRC + for i in ${PROGDIR}; do (cd $$i; ${MAKE} ${MFLAGS} \ + DESTDIR=${DESTDIR} install); done + +FRC: