FreeCalypso > hg > fc-sim-tools
annotate calypso/Makefile @ 53:fbedb67d234f
serial: fix parity for inverse coding convention
Important note: it is my (Mother Mychaela's) understanding that
SIM cards with inverse coding convention are extremely rare,
and I have never seen such a card. Therefore, our support for
the inverse coding convention will likely remain forever untested.
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Sun, 21 Mar 2021 20:46:09 +0000 |
parents | 0a21a7ffe144 |
children |
rev | line source |
---|---|
4
deeeef558279
fcsim-calypso-be put together
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
1 CC= gcc |
deeeef558279
fcsim-calypso-be put together
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
2 CFLAGS= -O2 |
6
0a21a7ffe144
calypso: caltest front end put together
Mychaela Falconia <falcon@freecalypso.org>
parents:
5
diff
changeset
|
3 PROGS= fcsim-calypso-be caltest |
4
deeeef558279
fcsim-calypso-be put together
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
4 |
deeeef558279
fcsim-calypso-be put together
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
5 INSTALL_PREFIX= /opt/freecalypso |
deeeef558279
fcsim-calypso-be put together
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
6 |
deeeef558279
fcsim-calypso-be put together
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
7 INSTBIN=${INSTALL_PREFIX}/bin |
deeeef558279
fcsim-calypso-be put together
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
8 |
5
f6b03af63bf7
fcsim-calypso-be: add FIONBIO setting to 0
Mychaela Falconia <falcon@freecalypso.org>
parents:
4
diff
changeset
|
9 MAIN_OBJS= main.o nonblock.o targetfd.o tpinterf.o |
4
deeeef558279
fcsim-calypso-be put together
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
10 |
deeeef558279
fcsim-calypso-be put together
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
11 all: ${PROGS} |
deeeef558279
fcsim-calypso-be put together
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
12 |
deeeef558279
fcsim-calypso-be put together
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
13 fcsim-calypso-be: ${MAIN_OBJS} |
deeeef558279
fcsim-calypso-be put together
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
14 ${CC} ${CFLAGS} -o $@ ${MAIN_OBJS} |
deeeef558279
fcsim-calypso-be put together
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
15 |
6
0a21a7ffe144
calypso: caltest front end put together
Mychaela Falconia <falcon@freecalypso.org>
parents:
5
diff
changeset
|
16 caltest: caltest.c |
0a21a7ffe144
calypso: caltest front end put together
Mychaela Falconia <falcon@freecalypso.org>
parents:
5
diff
changeset
|
17 ${CC} ${CFLAGS} -o $@ $@.c |
0a21a7ffe144
calypso: caltest front end put together
Mychaela Falconia <falcon@freecalypso.org>
parents:
5
diff
changeset
|
18 |
4
deeeef558279
fcsim-calypso-be put together
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
19 install: |
deeeef558279
fcsim-calypso-be put together
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
20 mkdir -p ${INSTBIN} |
deeeef558279
fcsim-calypso-be put together
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
21 install -c fcsim-calypso-be ${INSTBIN} |
deeeef558279
fcsim-calypso-be put together
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
22 |
deeeef558279
fcsim-calypso-be put together
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
23 clean: |
deeeef558279
fcsim-calypso-be put together
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
24 rm -f ${PROGS} *.o |