annotate sw/sniff-rx/Makefile @ 47:7c9bf72d460f

project rename: installed binary names
author Mychaela Falconia <falcon@freecalypso.org>
date Thu, 21 Sep 2023 05:00:50 +0000
parents fb9c03515832
children
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
47
7c9bf72d460f project rename: installed binary names
Mychaela Falconia <falcon@freecalypso.org>
parents: 32
diff changeset
3 PROG= simsniff-rx
22
b112c2df6c43 sw: simtrace3-sniff-rx program written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
4 OBJS= byteproc.o datetime.o initflush.o main.o mainloop.o
b112c2df6c43 sw: simtrace3-sniff-rx program written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
5 LIBS= ../libserial/libserial.a
b112c2df6c43 sw: simtrace3-sniff-rx program written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
6
32
fb9c03515832 sw/sniff-rx/Makefile: add install
Mychaela Falconia <falcon@freecalypso.org>
parents: 22
diff changeset
7 INSTALL_PREFIX= /opt/freecalypso
fb9c03515832 sw/sniff-rx/Makefile: add install
Mychaela Falconia <falcon@freecalypso.org>
parents: 22
diff changeset
8
fb9c03515832 sw/sniff-rx/Makefile: add install
Mychaela Falconia <falcon@freecalypso.org>
parents: 22
diff changeset
9 INSTBIN=${INSTALL_PREFIX}/bin
fb9c03515832 sw/sniff-rx/Makefile: add install
Mychaela Falconia <falcon@freecalypso.org>
parents: 22
diff changeset
10
22
b112c2df6c43 sw: simtrace3-sniff-rx program written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
11 all: ${PROG}
b112c2df6c43 sw: simtrace3-sniff-rx program written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
12
b112c2df6c43 sw: simtrace3-sniff-rx program written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
13 ${PROG}: ${OBJS} ${LIBS}
b112c2df6c43 sw: simtrace3-sniff-rx program written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
14 ${CC} ${CFLAGS} -o $@ ${OBJS} ${LIBS}
b112c2df6c43 sw: simtrace3-sniff-rx program written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
15
32
fb9c03515832 sw/sniff-rx/Makefile: add install
Mychaela Falconia <falcon@freecalypso.org>
parents: 22
diff changeset
16 install:
fb9c03515832 sw/sniff-rx/Makefile: add install
Mychaela Falconia <falcon@freecalypso.org>
parents: 22
diff changeset
17 mkdir -p ${INSTBIN}
fb9c03515832 sw/sniff-rx/Makefile: add install
Mychaela Falconia <falcon@freecalypso.org>
parents: 22
diff changeset
18 install -c ${PROG} ${INSTBIN}
fb9c03515832 sw/sniff-rx/Makefile: add install
Mychaela Falconia <falcon@freecalypso.org>
parents: 22
diff changeset
19
22
b112c2df6c43 sw: simtrace3-sniff-rx program written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
20 clean:
b112c2df6c43 sw: simtrace3-sniff-rx program written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
21 rm -f *.o ${PROG}