FreeCalypso > hg > fc-pcsc-tools
annotate simtool/Makefile @ 227:cac52723c02c
top Makefile: mkdir -p /opt/freecalypso/sim-data
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Wed, 10 Mar 2021 20:35:36 +0000 |
parents | 208ae1633f6c |
children |
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 |
193
bc127ba44488
fc-simtool erase-file command implemented
Mychaela Falconia <falcon@freecalypso.org>
parents:
171
diff
changeset
|
4 OBJS= a38.o bfsearch.o chv.o chvext.o curfile.o dispatch.o dumpdir.o \ |
bc127ba44488
fc-simtool erase-file command implemented
Mychaela Falconia <falcon@freecalypso.org>
parents:
171
diff
changeset
|
5 erasefile.o fplmn.o getresp.o grcard1.o grcard2.o hlread.o \ |
218
f376ba028311
fc-simtool opl-erase and opl-write implemented
Mychaela Falconia <falcon@freecalypso.org>
parents:
215
diff
changeset
|
6 inval_rehab.o lndwrite.o main.o miscadm.o opldump.o oplprog.o \ |
f376ba028311
fc-simtool opl-erase and opl-write implemented
Mychaela Falconia <falcon@freecalypso.org>
parents:
215
diff
changeset
|
7 pbcommon.o pbdump.o pberase.o pbrestore.o pbupd_imm.o pbupd_immhex.o \ |
f376ba028311
fc-simtool opl-erase and opl-write implemented
Mychaela Falconia <falcon@freecalypso.org>
parents:
215
diff
changeset
|
8 plmnsel.o pnndump.o pnnprog.o readcmd.o readef.o readops.o restorebin.o\ |
225
208ae1633f6c
simtool code: sysmo.c renamed to sjs1_hacks.c,
Mychaela Falconia <falcon@freecalypso.org>
parents:
218
diff
changeset
|
9 savebin.o script.o select.o sjs1_hacks.o smserase.o smsp_common.o \ |
208ae1633f6c
simtool code: sysmo.c renamed to sjs1_hacks.c,
Mychaela Falconia <falcon@freecalypso.org>
parents:
218
diff
changeset
|
10 smsp_dump.o smsp_erase.o smsp_restore.o smsp_set.o sstlist.o sstprog.o \ |
208ae1633f6c
simtool code: sysmo.c renamed to sjs1_hacks.c,
Mychaela Falconia <falcon@freecalypso.org>
parents:
218
diff
changeset
|
11 stktest.o telsum.o usersum.o writecmd.o writeops.o |
157
f064dbcc5f41
libutil split from libcommon
Mychaela Falconia <falcon@freecalypso.org>
parents:
145
diff
changeset
|
12 LIBS= ../libcommon/libcommon.a ../libutil/libutil.a |
1
2071b28cd0c7
simtool: first refactored version
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
13 INSTBIN=/opt/freecalypso/bin |
2071b28cd0c7
simtool: first refactored version
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
14 |
2071b28cd0c7
simtool: first refactored version
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
15 all: ${PROG} |
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 ${PROG}: ${OBJS} ${LIBS} |
2071b28cd0c7
simtool: first refactored version
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
18 ${CC} ${CFLAGS} -o $@ ${OBJS} ${LIBS} -lpcsclite |
2071b28cd0c7
simtool: first refactored version
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
19 |
2071b28cd0c7
simtool: first refactored version
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
20 install: |
2071b28cd0c7
simtool: first refactored version
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
21 mkdir -p ${INSTBIN} |
2071b28cd0c7
simtool: first refactored version
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
22 install -c ${PROG} ${INSTBIN} |
2071b28cd0c7
simtool: first refactored version
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
23 |
2071b28cd0c7
simtool: first refactored version
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
24 clean: |
2071b28cd0c7
simtool: first refactored version
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
25 rm -f ${PROG} *.o |