aboutsummaryrefslogtreecommitdiffstats
path: root/tools/uhd_dump/Makefile
blob: 93181570bf8db21cac75b4df682cdf510d1c0573 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
INCLUDES = usrp3_regs.h uhd_dump.h

BINARIES = chdr_log

OBJECTS = uhd_dump.o 

CFLAGS = -g -O0 -Wall

LDFLAGS = -lpcap -lm 

CC = cc

.PHONY: all
all: $(BINARIES)

chdr_log: uhd_dump.o chdr_log.o $(INCLUDES)
	$(CC) $(CFLAGS) -o $@ uhd_dump.o chdr_log.o  $(LDFLAGS)



clean:
	rm $(BINARIES)  $(BINARIES:%=%.o) $(OBJECTS)