diff --git a/mk2a/Makefile b/mk2a/Makefile new file mode 100644 index 00000000..5be30a69 --- /dev/null +++ b/mk2a/Makefile @@ -0,0 +1,18 @@ +# Makefile for scan 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 := mk2a_lms1680 + +all: $(PROGRAMS) + +mk2a_lms1680: mk2a_lms1680.o + +clean: + $(RM) $(PROGRAMS) $(PROGRAMS:=.o)