FreeCalypso > hg > fc-sim-tools
comparison serial/Makefile @ 41:5ee00413b8af
serial: beginning of fcsim-serial-be
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Sat, 20 Mar 2021 20:53:51 +0000 |
parents | 8f505d413815 |
children | 6cc3eea720cb |
comparison
equal
deleted
inserted
replaced
40:8f505d413815 | 41:5ee00413b8af |
---|---|
1 CC= gcc | 1 CC= gcc |
2 CFLAGS= -O2 | 2 CFLAGS= -O2 |
3 PROGS= fcsim-serial-atr | 3 PROGS= fcsim-serial-atr fcsim-serial-be |
4 | 4 |
5 INSTALL_PREFIX= /opt/freecalypso | 5 INSTALL_PREFIX= /opt/freecalypso |
6 | 6 |
7 INSTBIN=${INSTALL_PREFIX}/bin | 7 INSTBIN=${INSTALL_PREFIX}/bin |
8 | 8 |
9 ATR_OBJS= atrmain.o baud_parse.o collect_atr.o invtable.o serport.o | 9 ATR_OBJS= atrmain.o baud_parse.o collect_atr.o invtable.o serport.o |
10 MAIN_OBJS= baud_parse.o collect_atr.o invtable.o main.o serport.o xmit.o | |
10 | 11 |
11 all: ${PROGS} | 12 all: ${PROGS} |
12 | 13 |
13 fcsim-serial-atr: ${ATR_OBJS} | 14 fcsim-serial-atr: ${ATR_OBJS} |
14 ${CC} ${CFLAGS} -o $@ ${ATR_OBJS} | 15 ${CC} ${CFLAGS} -o $@ ${ATR_OBJS} |
16 | |
17 fcsim-serial-be: ${MAIN_OBJS} | |
18 ${CC} ${CFLAGS} -o $@ ${MAIN_OBJS} | |
15 | 19 |
16 install: | 20 install: |
17 mkdir -p ${INSTBIN} | 21 mkdir -p ${INSTBIN} |
18 install -c ${PROGS} ${INSTBIN} | 22 install -c ${PROGS} ${INSTBIN} |
19 | 23 |