comparison serial/Makefile @ 38:1d96f3b4f155

serial: started with fcsim-serial-atr
author Mychaela Falconia <falcon@freecalypso.org>
date Sat, 20 Mar 2021 19:19:46 +0000
parents
children 8f505d413815
comparison
equal deleted inserted replaced
37:4e5586c7f275 38:1d96f3b4f155
1 CC= gcc
2 CFLAGS= -O2
3 PROGS= fcsim-serial-atr
4
5 INSTALL_PREFIX= /opt/freecalypso
6
7 INSTBIN=${INSTALL_PREFIX}/bin
8
9 ATR_OBJS= atrmain.o collect_atr.o invtable.o serport.o
10
11 all: ${PROGS}
12
13 fcsim-serial-atr: ${ATR_OBJS}
14 ${CC} ${CFLAGS} -o $@ ${ATR_OBJS}
15
16 install:
17 mkdir -p ${INSTBIN}
18 install -c ${PROGS} ${INSTBIN}
19
20 clean:
21 rm -f ${PROGS} *.o