Skip to content

Commit

Permalink
Add makefile for utils
Browse files Browse the repository at this point in the history
  • Loading branch information
shenki committed Feb 8, 2021
1 parent 20832ae commit ef8d9af
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions utils/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# Makefile for util programs

# Auto_RX version number - needs to match the contents of autorx/__init__.py
# This can probably be done automatically.
#AUTO_RX_VERSION="\"1.4.1-beta8\""
AUTO_RX_VERSION := $(shell PYTHONPATH=../auto_rx python -m autorx.version)

CFLAGS = -O3 -Wall -Wno-unused-variable -DVER_JSN_STR=\"$(AUTO_RX_VERSION)\"
LDLIBS = -lm

PROGRAMS := fsk_demod

all: $(PROGRAMS)

fsk_demod: fsk_demod.o fsk.o modem_stats.o kiss_fftr.o kiss_fft.o

clean:
$(RM) $(PROGRAMS) $(PROGRAMS:=.o) fsk.o modem_stats.o kiss_fftr.o kiss_fft.o

0 comments on commit ef8d9af

Please sign in to comment.