T hacks: add ant0 utility to dump IQ data as float complex
Or as int16.
This commit is contained in:
@@ -3,7 +3,7 @@ CFLAGS=-Wall -g -pthread -DT_TRACER -I. -I..
|
||||
|
||||
LIBS=-lX11 -lm -lpng -lXft
|
||||
|
||||
all: dump_nack_signal time_meas timeplot multi-rru-clean
|
||||
all: dump_nack_signal time_meas timeplot multi-rru-clean ant0
|
||||
|
||||
dump_nack_signal: ../utils.o ../database.o ../configuration.o ../event.o \
|
||||
dump_nack_signal.o
|
||||
@@ -19,10 +19,18 @@ timplot: timeplot.o
|
||||
multi-rru-clean: ../utils.o ../database.o ../event.o ../configuration.o multi-rru-clean.o
|
||||
$(CC) $(CFLAGS) -o $@ $^ $(LIBS)
|
||||
|
||||
ant0: ant0.o ../utils.o ../database.o ../configuration.o ../event.o
|
||||
$(CC) $(CFLAGS) -o $@ $^ -lm
|
||||
|
||||
#ant0 needs good compilation, conversion to float is heavy
|
||||
ant0.o: ant0.c
|
||||
$(CC) $(CFLAGS) -c -o $@ $< -march=native -ffast-math -O3
|
||||
|
||||
.PHONY: all
|
||||
|
||||
%.o: %.c
|
||||
$(CC) $(CFLAGS) -c -o $@ $<
|
||||
|
||||
clean:
|
||||
rm -f *.o core dump_nack_signal time_meas timeplot multi-rru-clean
|
||||
rm -f *.o core dump_nack_signal time_meas timeplot multi-rru-clean \
|
||||
ant0
|
||||
|
||||
Reference in New Issue
Block a user