# HG changeset patch # User Mychaela Falconia # Date 1717891231 0 # Node ID ce450869db093692fad82e0f06cb4ef5e5d8e8be # Parent 847690ea7f4ad0d4588c200b02c65943079f4fbe add top Makefile diff -r 847690ea7f4a -r ce450869db09 Makefile --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Makefile Sun Jun 09 00:00:31 2024 +0000 @@ -0,0 +1,25 @@ +PROGDIR=mncc +LIBDIR= libutil +SUBDIR= ${PROGDIR} ${LIBDIR} +DESTDIR= + +all: ${SUBDIR} + +mncc: libutil + +${SUBDIR}: FRC config.defs + cd $@; ${MAKE} ${MFLAGS} + +config.defs: + @echo 'You must run ./configure before make' + @false + +install: FRC + for i in ${PROGDIR}; 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: