annotate sw/sniff-dec/Makefile @ 41:118a12e9483b

simtrace3-sniff-dec started
author Mychaela Falconia <falcon@freecalypso.org>
date Thu, 31 Aug 2023 08:46:23 +0000
parents sw/sniff-rx/Makefile@fb9c03515832
children 5804ff735f9e
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
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
41
118a12e9483b simtrace3-sniff-dec started
Mychaela Falconia <falcon@freecalypso.org>
parents: 32
diff changeset
3 PROG= simtrace3-sniff-dec
118a12e9483b simtrace3-sniff-dec started
Mychaela Falconia <falcon@freecalypso.org>
parents: 32
diff changeset
4 OBJS= atr.o command.o dispatch.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
b112c2df6c43 sw: simtrace3-sniff-rx program written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
12 ${PROG}: ${OBJS} ${LIBS}
b112c2df6c43 sw: simtrace3-sniff-rx program written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
13 ${CC} ${CFLAGS} -o $@ ${OBJS} ${LIBS}
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}