FreeCalypso > hg > freecalypso-hwlab
annotate simtool/Makefile @ 128:95c2a67e1219
doc, linux-patch: update for failure to mainline DUART28C support
| author | Mychaela Falconia <falcon@freecalypso.org> |
|---|---|
| date | Tue, 02 Feb 2021 04:32:42 +0000 |
| parents | 141489d31667 |
| children | 431194b772e1 |
| rev | line source |
|---|---|
|
85
b57cf64ece29
fc-simtool project started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
1 CC= gcc |
|
b57cf64ece29
fc-simtool project started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
2 CFLAGS= -O2 -I/usr/include/PCSC |
|
b57cf64ece29
fc-simtool project started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
3 PROG= fc-simtool |
|
127
141489d31667
fc-simtool: a38 command implemented
Mychaela Falconia <falcon@freecalypso.org>
parents:
124
diff
changeset
|
4 OBJS= a38.o alpha_decode.o alpha_valid.o apdu.o atr.o cardconnect.o chv.o \ |
|
124
6c4567dd8946
fc-simtool: add non-interactive one-shot command (or script) mode
Mychaela Falconia <falcon@freecalypso.org>
parents:
123
diff
changeset
|
5 dispatch.o exit.o globals.o hexdump.o hexread.o hlread.o main.o names.o\ |
|
112
87d459d9797a
fc-simtool: pb-erase command implemented
Mychaela Falconia <falcon@freecalypso.org>
parents:
111
diff
changeset
|
6 pbcommon.o pbdump.o pberase.o pbupdate.o readcmd.o readops.o \ |
|
123
b391204d3cd5
fc-simtool: add scripting facility in the form of exec command
Mychaela Falconia <falcon@freecalypso.org>
parents:
114
diff
changeset
|
7 saverestore.o script.o select.o sysmo.o telsum.o writecmd.o writeops.o |
|
107
ba2c796259e9
simtool/Makefile: add install
Mychaela Falconia <falcon@freecalypso.org>
parents:
104
diff
changeset
|
8 INSTBIN=/opt/freecalypso/bin |
|
85
b57cf64ece29
fc-simtool project started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
9 |
|
b57cf64ece29
fc-simtool project started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
10 all: ${PROG} |
|
b57cf64ece29
fc-simtool project started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
11 |
|
b57cf64ece29
fc-simtool project started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
12 ${PROG}: ${OBJS} |
|
b57cf64ece29
fc-simtool project started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
13 ${CC} ${CFLAGS} -o $@ ${OBJS} -lpcsclite |
|
b57cf64ece29
fc-simtool project started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
14 |
|
107
ba2c796259e9
simtool/Makefile: add install
Mychaela Falconia <falcon@freecalypso.org>
parents:
104
diff
changeset
|
15 install: |
|
ba2c796259e9
simtool/Makefile: add install
Mychaela Falconia <falcon@freecalypso.org>
parents:
104
diff
changeset
|
16 mkdir -p ${INSTBIN} |
|
ba2c796259e9
simtool/Makefile: add install
Mychaela Falconia <falcon@freecalypso.org>
parents:
104
diff
changeset
|
17 install -c ${PROG} ${INSTBIN} |
|
ba2c796259e9
simtool/Makefile: add install
Mychaela Falconia <falcon@freecalypso.org>
parents:
104
diff
changeset
|
18 |
|
85
b57cf64ece29
fc-simtool project started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
19 clean: |
|
b57cf64ece29
fc-simtool project started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
20 rm -f ${PROG} *.o |
