comparison simtool/Makefile @ 1:2071b28cd0c7

simtool: first refactored version
author Mychaela Falconia <falcon@freecalypso.org>
date Thu, 11 Feb 2021 23:04:28 +0000
parents
children d4f8c511affe
comparison
equal deleted inserted replaced
0:f7145c77b7fb 1:2071b28cd0c7
1 CC= gcc
2 CFLAGS= -O2 -I/usr/include/PCSC -I../libcommon
3 PROG= fc-simtool
4 OBJS= a38.o chv.o curfile.o dispatch.o dumpdir.o grcard1.o grcard2.o hlread.o\
5 main.o pbcommon.o pbdump.o pberase.o pbupdate.o readcmd.o readops.o \
6 saverestore.o script.o select.o sysmo.o telsum.o writecmd.o writeops.o
7 LIBS= ../libcommon/libcommon.a
8 INSTBIN=/opt/freecalypso/bin
9
10 all: ${PROG}
11
12 ${PROG}: ${OBJS} ${LIBS}
13 ${CC} ${CFLAGS} -o $@ ${OBJS} ${LIBS} -lpcsclite
14
15 install:
16 mkdir -p ${INSTBIN}
17 install -c ${PROG} ${INSTBIN}
18
19 clean:
20 rm -f ${PROG} *.o