FreeCalypso > hg > themwi-nanp
diff Makefile @ 14:78319ed870dc
convert to new ThemWi configure and build system
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Tue, 21 May 2024 00:15:24 +0000 |
parents | 3d6cfb615d90 |
children |
line wrap: on
line diff
--- a/Makefile Wed Dec 13 06:07:40 2023 +0000 +++ b/Makefile Tue May 21 00:15:24 2024 +0000 @@ -1,18 +1,20 @@ SUBDIR= include libnumdb libnumutil utils - -INSTALL_PREFIX= /opt/themwi +DESTDIR= all: ${SUBDIR} utils: libnumdb libnumutil -${SUBDIR}: FRC +${SUBDIR}: FRC config.defs cd $@; ${MAKE} ${MFLAGS} +config.defs: + @echo 'You must run ./configure before make' + @false + install: FRC - mkdir -p ${INSTALL_PREFIX} for i in ${SUBDIR}; do (cd $$i; ${MAKE} ${MFLAGS} \ - INSTALL_PREFIX=${INSTALL_PREFIX} install); done + DESTDIR=${DESTDIR} install); done clean: FRC rm -f a.out core errs