FreeCalypso > hg > fc-pcsc-tools
annotate simtool/Makefile @ 46:32d6186668cf
simtool code: chvext.c split from chv.c
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Sat, 13 Feb 2021 00:01:38 +0000 |
parents | f4eb1e83b4b3 |
children | 9a21f4353158 |
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 |
46
32d6186668cf
simtool code: chvext.c split from chv.c
Mychaela Falconia <falcon@freecalypso.org>
parents:
44
diff
changeset
|
4 OBJS= a38.o chv.o chvext.o curfile.o dispatch.o dumpdir.o grcard1.o grcard2.o\ |
32d6186668cf
simtool code: chvext.c split from chv.c
Mychaela Falconia <falcon@freecalypso.org>
parents:
44
diff
changeset
|
5 hlread.o main.o pbcommon.o pbdump.o pberase.o pbupd_file.o pbupd_imm.o \ |
16
a6ca422323b9
simtool: saverestore.c split into savebin.c and restorebin.c
Mychaela Falconia <falcon@freecalypso.org>
parents:
13
diff
changeset
|
6 pbupd_immhex.o readcmd.o readops.o restorebin.o savebin.o script.o \ |
42
2714d379edc2
fc-simtool sms-erase-* command family implemented
Mychaela Falconia <falcon@freecalypso.org>
parents:
40
diff
changeset
|
7 select.o smserase.o smsp_common.o smsp_dump.o smsp_erase.o \ |
44
f4eb1e83b4b3
fc-simtool smsp-set command implemented
Mychaela Falconia <falcon@freecalypso.org>
parents:
42
diff
changeset
|
8 smsp_restore.o smsp_set.o sysmo.o telsum.o writecmd.o writeops.o |
1
2071b28cd0c7
simtool: first refactored version
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
9 LIBS= ../libcommon/libcommon.a |
2071b28cd0c7
simtool: first refactored version
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
10 INSTBIN=/opt/freecalypso/bin |
2071b28cd0c7
simtool: first refactored version
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
11 |
2071b28cd0c7
simtool: first refactored version
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
12 all: ${PROG} |
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 ${PROG}: ${OBJS} ${LIBS} |
2071b28cd0c7
simtool: first refactored version
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
15 ${CC} ${CFLAGS} -o $@ ${OBJS} ${LIBS} -lpcsclite |
2071b28cd0c7
simtool: first refactored version
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
16 |
2071b28cd0c7
simtool: first refactored version
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
17 install: |
2071b28cd0c7
simtool: first refactored version
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
18 mkdir -p ${INSTBIN} |
2071b28cd0c7
simtool: first refactored version
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
19 install -c ${PROG} ${INSTBIN} |
2071b28cd0c7
simtool: first refactored version
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
20 |
2071b28cd0c7
simtool: first refactored version
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
21 clean: |
2071b28cd0c7
simtool: first refactored version
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
22 rm -f ${PROG} *.o |