FreeCalypso > hg > fc-sim-sniff
annotate sw/sniff-dec/Makefile @ 56:966a54303d68
simsniff-dec: factor out high-level decoding
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Wed, 04 Oct 2023 01:18:50 +0000 |
parents | 7c9bf72d460f |
children |
rev | line source |
---|---|
22
b112c2df6c43
sw: simtrace3-sniff-rx program written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
1 CC= gcc |
b112c2df6c43
sw: simtrace3-sniff-rx program written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
2 CFLAGS= -O2 |
47
7c9bf72d460f
project rename: installed binary names
Mychaela Falconia <falcon@freecalypso.org>
parents:
42
diff
changeset
|
3 PROG= simsniff-dec |
56
966a54303d68
simsniff-dec: factor out high-level decoding
Mychaela Falconia <falcon@freecalypso.org>
parents:
47
diff
changeset
|
4 OBJS= atr.o command.o dispatch.o hl_decode.o invtable.o main.o parity.o pps.o |
22
b112c2df6c43
sw: simtrace3-sniff-rx program written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
5 |
32
fb9c03515832
sw/sniff-rx/Makefile: add install
Mychaela Falconia <falcon@freecalypso.org>
parents:
22
diff
changeset
|
6 INSTALL_PREFIX= /opt/freecalypso |
fb9c03515832
sw/sniff-rx/Makefile: add install
Mychaela Falconia <falcon@freecalypso.org>
parents:
22
diff
changeset
|
7 |
fb9c03515832
sw/sniff-rx/Makefile: add install
Mychaela Falconia <falcon@freecalypso.org>
parents:
22
diff
changeset
|
8 INSTBIN=${INSTALL_PREFIX}/bin |
fb9c03515832
sw/sniff-rx/Makefile: add install
Mychaela Falconia <falcon@freecalypso.org>
parents:
22
diff
changeset
|
9 |
22
b112c2df6c43
sw: simtrace3-sniff-rx program written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
10 all: ${PROG} |
b112c2df6c43
sw: simtrace3-sniff-rx program written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
11 |
42
5804ff735f9e
sw/sniff-dec/Makefile: no LIBS
Mychaela Falconia <falcon@freecalypso.org>
parents:
41
diff
changeset
|
12 ${PROG}: ${OBJS} |
5804ff735f9e
sw/sniff-dec/Makefile: no LIBS
Mychaela Falconia <falcon@freecalypso.org>
parents:
41
diff
changeset
|
13 ${CC} ${CFLAGS} -o $@ ${OBJS} |
22
b112c2df6c43
sw: simtrace3-sniff-rx program written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
14 |
32
fb9c03515832
sw/sniff-rx/Makefile: add install
Mychaela Falconia <falcon@freecalypso.org>
parents:
22
diff
changeset
|
15 install: |
fb9c03515832
sw/sniff-rx/Makefile: add install
Mychaela Falconia <falcon@freecalypso.org>
parents:
22
diff
changeset
|
16 mkdir -p ${INSTBIN} |
fb9c03515832
sw/sniff-rx/Makefile: add install
Mychaela Falconia <falcon@freecalypso.org>
parents:
22
diff
changeset
|
17 install -c ${PROG} ${INSTBIN} |
fb9c03515832
sw/sniff-rx/Makefile: add install
Mychaela Falconia <falcon@freecalypso.org>
parents:
22
diff
changeset
|
18 |
22
b112c2df6c43
sw: simtrace3-sniff-rx program written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
19 clean: |
b112c2df6c43
sw: simtrace3-sniff-rx program written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
20 rm -f *.o ${PROG} |