FreeCalypso > hg > fc-pcsc-tools
annotate simtool/Makefile @ 188:aebb0912eee4
scripts/fcsim1-default-pins: new grcard2-set-adm5 command
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Sat, 06 Mar 2021 21:04:32 +0000 |
parents | 4d747b86da00 |
children | bc127ba44488 |
rev | line source |
---|---|
1
2071b28cd0c7
simtool: first refactored version
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
1 CC= gcc |
2071b28cd0c7
simtool: first refactored version
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
2 CFLAGS= -O2 -I/usr/include/PCSC -I../libcommon |
2071b28cd0c7
simtool: first refactored version
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
3 PROG= fc-simtool |
145
c2889812788e
fc-simtool bfsearch implemented
Mychaela Falconia <falcon@freecalypso.org>
parents:
144
diff
changeset
|
4 OBJS= a38.o bfsearch.o chv.o chvext.o curfile.o dispatch.o dumpdir.o fplmn.o \ |
c2889812788e
fc-simtool bfsearch implemented
Mychaela Falconia <falcon@freecalypso.org>
parents:
144
diff
changeset
|
5 getresp.o grcard1.o grcard2.o hlread.o inval_rehab.o lndwrite.o main.o \ |
c2889812788e
fc-simtool bfsearch implemented
Mychaela Falconia <falcon@freecalypso.org>
parents:
144
diff
changeset
|
6 miscadm.o opldump.o pbcommon.o pbdump.o pberase.o pbrestore.o \ |
171
4d747b86da00
simtool code: readef command implementation split off
Mychaela Falconia <falcon@freecalypso.org>
parents:
157
diff
changeset
|
7 pbupd_imm.o pbupd_immhex.o plmnsel.o pnndump.o readcmd.o readef.o \ |
4d747b86da00
simtool code: readef command implementation split off
Mychaela Falconia <falcon@freecalypso.org>
parents:
157
diff
changeset
|
8 readops.o restorebin.o savebin.o script.o select.o smserase.o \ |
4d747b86da00
simtool code: readef command implementation split off
Mychaela Falconia <falcon@freecalypso.org>
parents:
157
diff
changeset
|
9 smsp_common.o smsp_dump.o smsp_erase.o smsp_restore.o smsp_set.o \ |
4d747b86da00
simtool code: readef command implementation split off
Mychaela Falconia <falcon@freecalypso.org>
parents:
157
diff
changeset
|
10 sstlist.o stktest.o sysmo.o telsum.o usersum.o writecmd.o writeops.o |
157
f064dbcc5f41
libutil split from libcommon
Mychaela Falconia <falcon@freecalypso.org>
parents:
145
diff
changeset
|
11 LIBS= ../libcommon/libcommon.a ../libutil/libutil.a |
1
2071b28cd0c7
simtool: first refactored version
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
12 INSTBIN=/opt/freecalypso/bin |
2071b28cd0c7
simtool: first refactored version
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
13 |
2071b28cd0c7
simtool: first refactored version
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
14 all: ${PROG} |
2071b28cd0c7
simtool: first refactored version
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
15 |
2071b28cd0c7
simtool: first refactored version
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
16 ${PROG}: ${OBJS} ${LIBS} |
2071b28cd0c7
simtool: first refactored version
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
17 ${CC} ${CFLAGS} -o $@ ${OBJS} ${LIBS} -lpcsclite |
2071b28cd0c7
simtool: first refactored version
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
18 |
2071b28cd0c7
simtool: first refactored version
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
19 install: |
2071b28cd0c7
simtool: first refactored version
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
20 mkdir -p ${INSTBIN} |
2071b28cd0c7
simtool: first refactored version
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
21 install -c ${PROG} ${INSTBIN} |
2071b28cd0c7
simtool: first refactored version
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
22 |
2071b28cd0c7
simtool: first refactored version
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
23 clean: |
2071b28cd0c7
simtool: first refactored version
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
24 rm -f ${PROG} *.o |