2015-06-30 12:10:15 +08:00
|
|
|
# Makefile for Linux etc.
|
|
|
|
|
2015-07-09 07:18:57 +08:00
|
|
|
.PHONY: all clean time
|
2015-07-02 19:09:47 +08:00
|
|
|
all: gps-sdr-sim
|
2015-06-30 12:10:15 +08:00
|
|
|
|
|
|
|
SHELL=/bin/bash
|
|
|
|
CC=gcc
|
2017-10-30 20:55:32 +08:00
|
|
|
CFLAGS=-O3 -Wall -D_FILE_OFFSET_BITS=64
|
2016-01-22 16:28:38 +08:00
|
|
|
LDFLAGS=-lm
|
2015-06-30 12:10:15 +08:00
|
|
|
|
|
|
|
gps-sdr-sim: gpssim.o
|
|
|
|
${CC} $< ${LDFLAGS} -o $@
|
|
|
|
|
|
|
|
clean:
|
2015-07-02 19:09:47 +08:00
|
|
|
rm -f gpssim.o gps-sdr-sim *.bin
|
2015-07-01 17:03:02 +08:00
|
|
|
|
2015-07-09 07:18:57 +08:00
|
|
|
time: gps-sdr-sim
|
2016-01-22 16:29:30 +08:00
|
|
|
time ./gps-sdr-sim -e brdc3540.14n -u circle.csv -b 1
|
2015-07-01 17:03:02 +08:00
|
|
|
time ./gps-sdr-sim -e brdc3540.14n -u circle.csv -b 8
|
|
|
|
time ./gps-sdr-sim -e brdc3540.14n -u circle.csv -b 16
|