annotate Makefile @ 218:f376ba028311

fc-simtool opl-erase and opl-write implemented
author Mychaela Falconia <falcon@freecalypso.org>
date Sun, 07 Mar 2021 18:42:57 +0000
parents 123dc7370581
children cac52723c02c
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
189
123dc7370581 top Makefile: install scripts
Mychaela Falconia <falcon@freecalypso.org>
parents: 164
diff changeset
5 INSTALL_PREFIX= /opt/freecalypso
123dc7370581 top Makefile: install scripts
Mychaela Falconia <falcon@freecalypso.org>
parents: 164
diff changeset
6
2
5b69dfc789f2 top Makefile added
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
7 all: ${SUBDIR}
5b69dfc789f2 top Makefile added
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
8
164
e6263e1b16f8 misc programs don't depend on libutil after the split
Mychaela Falconia <falcon@freecalypso.org>
parents: 163
diff changeset
9 misc: libcommon
163
4cd2023f56a6 sim-iccid-mkfull utility created, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents: 157
diff changeset
10 offline: libutil
157
f064dbcc5f41 libutil split from libcommon
Mychaela Falconia <falcon@freecalypso.org>
parents: 27
diff changeset
11 simtool: libcommon libutil
f064dbcc5f41 libutil split from libcommon
Mychaela Falconia <falcon@freecalypso.org>
parents: 27
diff changeset
12 uicc: libcommon libutil
2
5b69dfc789f2 top Makefile added
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
13
5b69dfc789f2 top Makefile added
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
14 ${SUBDIR}: FRC
5b69dfc789f2 top Makefile added
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
15 cd $@; ${MAKE} ${MFLAGS}
5b69dfc789f2 top Makefile added
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
16
5b69dfc789f2 top Makefile added
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
17 clean: FRC
5b69dfc789f2 top Makefile added
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
18 rm -f a.out core errs
5b69dfc789f2 top Makefile added
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
19 for i in ${SUBDIR}; do (cd $$i; ${MAKE} ${MFLAGS} clean); done
5b69dfc789f2 top Makefile added
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
20
5b69dfc789f2 top Makefile added
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
21 install: FRC
189
123dc7370581 top Makefile: install scripts
Mychaela Falconia <falcon@freecalypso.org>
parents: 164
diff changeset
22 mkdir -p ${INSTALL_PREFIX}
123dc7370581 top Makefile: install scripts
Mychaela Falconia <falcon@freecalypso.org>
parents: 164
diff changeset
23 for i in ${PROGDIR}; do (cd $$i; ${MAKE} ${MFLAGS} \
123dc7370581 top Makefile: install scripts
Mychaela Falconia <falcon@freecalypso.org>
parents: 164
diff changeset
24 INSTALL_PREFIX=${INSTALL_PREFIX} install); done
123dc7370581 top Makefile: install scripts
Mychaela Falconia <falcon@freecalypso.org>
parents: 164
diff changeset
25 mkdir -p ${INSTALL_PREFIX}/sim-scripts
123dc7370581 top Makefile: install scripts
Mychaela Falconia <falcon@freecalypso.org>
parents: 164
diff changeset
26 install -c -m 644 scripts/* ${INSTALL_PREFIX}/sim-scripts
2
5b69dfc789f2 top Makefile added
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
27
5b69dfc789f2 top Makefile added
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
28 FRC: