Move CFLAGS to top level Makefile

pull/664/head
Jiří Pinkava 2022-09-21 22:07:16 +02:00
rodzic d6b119cf37
commit c0fb5b5f3d
6 zmienionych plików z 6 dodań i 37 usunięć

Wyświetl plik

@ -1,3 +1,8 @@
AUTO_RX_VERSION := $(shell PYTHONPATH=./auto_rx python -m autorx.version)
CFLAGS = -O3 -Wall -Wno-unused-variable -DVER_JSN_STR=\"$(AUTO_RX_VERSION)\"
export CFLAGS
SUBDIRS := \
demod/mod \
imet \

Wyświetl plik

@ -1,11 +1,3 @@
# Makefile for demod 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 := rs41mod dfm09mod rs92mod lms6mod lms6Xmod meisei100mod m10mod m20mod imet54mod mp3h1mod

Wyświetl plik

@ -1,11 +1,4 @@
# Makefile for imet 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 = -Ofast -Wall -Wno-unused-variable -DVER_JSN_STR=\"$(AUTO_RX_VERSION)\"
CFLAGS += -Ofast
LDLIBS = -lm
PROGRAMS := imet1rs_dft imet4iq

Wyświetl plik

@ -1,11 +1,5 @@
# 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 mk2a1680mod

Wyświetl plik

@ -1,10 +1,3 @@
# 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)\" -DNOC34C50
LDLIBS = -lm

Wyświetl plik

@ -1,11 +1,3 @@
# 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