FreeCalypso > hg > ffs-data-bundle
changeset 3:e9c1f6d65654
make install support in batteries and charging subtrees
modeled after fc-rfcal-tools/txlevels
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Mon, 04 Apr 2022 18:15:52 +0000 |
parents | a4edf5415c74 |
children | e1878231dbcd |
files | Makefile batteries/Makefile charging/Makefile charging/c1xx/Makefile charging/pirelli/Makefile |
diffstat | 5 files changed, 46 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/Makefile Mon Apr 04 17:13:12 2022 +0000 +++ b/Makefile Mon Apr 04 18:15:52 2022 +0000 @@ -1,4 +1,4 @@ -SUBDIR= aud-caramel aud-fcdev3b +SUBDIR= aud-caramel aud-fcdev3b batteries charging all: ${SUBDIR}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/batteries/Makefile Mon Apr 04 18:15:52 2022 +0000 @@ -0,0 +1,10 @@ +INSTDIR=/opt/freecalypso/batteries +FILES= pirelli + +all: + +install: + mkdir -p ${INSTDIR} + install -c -m 644 ${FILES} ${INSTDIR} + +clean:
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/charging/Makefile Mon Apr 04 18:15:52 2022 +0000 @@ -0,0 +1,15 @@ +SUBDIR= c1xx pirelli + +all: ${SUBDIR} + +${SUBDIR}: FRC + cd $@; ${MAKE} ${MFLAGS} + +clean: FRC + rm -f a.out core errs + for i in ${SUBDIR}; do (cd $$i; ${MAKE} ${MFLAGS} clean); done + +install: FRC + for i in ${SUBDIR}; do (cd $$i; ${MAKE} ${MFLAGS} install); done + +FRC: