# HG changeset patch # User Mychaela Falconia # Date 1724937698 0 # Node ID 3604828b2f54513428cf118d322f8372b3ae1dd6 # Parent adcdbb2e30fed261edb1cf6c66a8e962cb9fdfcd add top Makefile diff -r adcdbb2e30fe -r 3604828b2f54 Makefile --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Makefile Thu Aug 29 13:21:38 2024 +0000 @@ -0,0 +1,25 @@ +PROGDIR=ft16 +LIBDIR= libutil +SUBDIR= ${PROGDIR} ${LIBDIR} +DESTDIR= + +all: ${SUBDIR} + +ft16: 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: