FreeCalypso > hg > e1-fake-trau
changeset 5:3604828b2f54
add top Makefile
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Thu, 29 Aug 2024 13:21:38 +0000 |
parents | adcdbb2e30fe |
children | 3ab5e2e17da2 |
files | Makefile |
diffstat | 1 files changed, 25 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- /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: