annotate Makefile @ 23:2e4d02c1ee2d

top Makefile: add uicc subdir to PROGDIR
author Mychaela Falconia <falcon@freecalypso.org>
date Fri, 12 Feb 2021 04:36:36 +0000
parents 5b69dfc789f2
children be946be3f9a7
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
23
2e4d02c1ee2d top Makefile: add uicc subdir to PROGDIR
Mychaela Falconia <falcon@freecalypso.org>
parents: 2
diff changeset
1 PROGDIR=simtool uicc
2
5b69dfc789f2 top Makefile added
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
2 LIBDIR= libcommon
5b69dfc789f2 top Makefile added
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
3 SUBDIR= ${PROGDIR} ${LIBDIR}
5b69dfc789f2 top Makefile added
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
4
5b69dfc789f2 top Makefile added
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
5 all: ${SUBDIR}
5b69dfc789f2 top Makefile added
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
6
5b69dfc789f2 top Makefile added
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
7 simtool: libcommon
5b69dfc789f2 top Makefile added
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
8
5b69dfc789f2 top Makefile added
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
9 ${SUBDIR}: FRC
5b69dfc789f2 top Makefile added
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
10 cd $@; ${MAKE} ${MFLAGS}
5b69dfc789f2 top Makefile added
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
11
5b69dfc789f2 top Makefile added
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
12 clean: FRC
5b69dfc789f2 top Makefile added
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
13 rm -f a.out core errs
5b69dfc789f2 top Makefile added
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
14 for i in ${SUBDIR}; do (cd $$i; ${MAKE} ${MFLAGS} clean); done
5b69dfc789f2 top Makefile added
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
15
5b69dfc789f2 top Makefile added
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
16 install: FRC
5b69dfc789f2 top Makefile added
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
17 for i in ${PROGDIR}; do (cd $$i; ${MAKE} ${MFLAGS} install); done
5b69dfc789f2 top Makefile added
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
18
5b69dfc789f2 top Makefile added
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
19 FRC: