blob: 74a02d9baf7bfb1b241972557b2704c13e479547 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
# This is a skeleton makefile to simplify building some of these little
# utilities. They probably won't be useful to many users, and they probably
# won't get used on a daily basis, but someone might find them useful for
# tinkering with their gear.
PROGS= ashctl binlog binreplay lla2ecef motosend
ADDOBJS=../strl.o
all: $(PROGS)
ashctl: ashctl.c
$(CC) $(CFLAGS) $(ADDOBJS) -o ashctl ashctl.c
binlog: binlog.c
$(CC) $(CFLAGS) $(ADDOBJS) -o binlog binlog.c
binreplay: binreplay.c
$(CC) $(CFLAGS) $(ADDOBJS) -o binreplay binreplay.c -lutil
lla2ecef: lla2ecef.c
$(CC) $(CFLAGS) $(ADDOBJS) -o lla2ecef lla2ecef.c -lm
motosend: motosend.c
$(CC) $(CFLAGS) $(ADDOBJS) -o motosend motosend.c
clean:
rm -f $(PROGS) *.o *.core
|