annotate Makefile @ 181:63b640562e21

simtool/miscadm.c: code refactoring in preparation for adding shorthand ICCID and IMSI write commands
author Mychaela Falconia <falcon@freecalypso.org>
date Sat, 06 Mar 2021 04:51:56 +0000
parents e6263e1b16f8
children 123dc7370581
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
163
4cd2023f56a6 sim-iccid-mkfull utility created, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents: 157
diff changeset
1 PROGDIR=misc offline simtool uicc
157
f064dbcc5f41 libutil split from libcommon
Mychaela Falconia <falcon@freecalypso.org>
parents: 27
diff changeset
2 LIBDIR= libcommon libutil
2
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
164
e6263e1b16f8 misc programs don't depend on libutil after the split
Mychaela Falconia <falcon@freecalypso.org>
parents: 163
diff changeset
7 misc: libcommon
163
4cd2023f56a6 sim-iccid-mkfull utility created, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents: 157
diff changeset
8 offline: libutil
157
f064dbcc5f41 libutil split from libcommon
Mychaela Falconia <falcon@freecalypso.org>
parents: 27
diff changeset
9 simtool: libcommon libutil
f064dbcc5f41 libutil split from libcommon
Mychaela Falconia <falcon@freecalypso.org>
parents: 27
diff changeset
10 uicc: libcommon libutil
2
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 ${SUBDIR}: FRC
5b69dfc789f2 top Makefile added
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
13 cd $@; ${MAKE} ${MFLAGS}
5b69dfc789f2 top Makefile added
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
14
5b69dfc789f2 top Makefile added
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
15 clean: FRC
5b69dfc789f2 top Makefile added
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
16 rm -f a.out core errs
5b69dfc789f2 top Makefile added
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
17 for i in ${SUBDIR}; do (cd $$i; ${MAKE} ${MFLAGS} clean); 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 install: FRC
5b69dfc789f2 top Makefile added
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
20 for i in ${PROGDIR}; do (cd $$i; ${MAKE} ${MFLAGS} install); done
5b69dfc789f2 top Makefile added
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
21
5b69dfc789f2 top Makefile added
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
22 FRC: