FreeCalypso > hg > freecalypso-hwlab
comparison simtool/Makefile @ 107:ba2c796259e9
simtool/Makefile: add install
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Mon, 25 Jan 2021 21:15:42 +0000 |
parents | a60645b75a57 |
children | 6f80cfdc7e05 |
comparison
equal
deleted
inserted
replaced
106:66f04193a906 | 107:ba2c796259e9 |
---|---|
3 PROG= fc-simtool | 3 PROG= fc-simtool |
4 OBJS= alpha_decode.o alpha_valid.o apdu.o atr.o cardconnect.o dispatch.o \ | 4 OBJS= alpha_decode.o alpha_valid.o apdu.o atr.o cardconnect.o dispatch.o \ |
5 globals.o hexdump.o hexread.o hlread.o main.o names.o pbcommon.o \ | 5 globals.o hexdump.o hexread.o hlread.o main.o names.o pbcommon.o \ |
6 pbdump.o readcmd.o readops.o saverestore.o select.o telsum.o writecmd.o\ | 6 pbdump.o readcmd.o readops.o saverestore.o select.o telsum.o writecmd.o\ |
7 writeops.o | 7 writeops.o |
8 INSTBIN=/opt/freecalypso/bin | |
8 | 9 |
9 all: ${PROG} | 10 all: ${PROG} |
10 | 11 |
11 ${PROG}: ${OBJS} | 12 ${PROG}: ${OBJS} |
12 ${CC} ${CFLAGS} -o $@ ${OBJS} -lpcsclite | 13 ${CC} ${CFLAGS} -o $@ ${OBJS} -lpcsclite |
13 | 14 |
15 install: | |
16 mkdir -p ${INSTBIN} | |
17 install -c ${PROG} ${INSTBIN} | |
18 | |
14 clean: | 19 clean: |
15 rm -f ${PROG} *.o | 20 rm -f ${PROG} *.o |