- add radio to build system

- added farrow test

git-svn-id: http://moon:8086/svn/software/trunk/libsrc/cpp@946 b431acfa-c32f-4a4a-93f1-934dc6c82436
This commit is contained in:
2022-06-13 05:44:11 +00:00
parent ff2415af84
commit bf56af361f
6 changed files with 139 additions and 29 deletions
+26
View File
@@ -0,0 +1,26 @@
include ./config.mk
DEFINES := -Dradio_float_t=float -Dfir_float_t=float
CXXFLAGS_release := -O3 -flto
CFLAGS_release := -O3 -flto
LDFLAGS_release := -O3 -flto
TARGET_ARCH := -march=native
CXXFLAGS += -std=c++20
LIBS := -lstdc++ -lm -lpthread -lrt
LDFLAGS += $(TARGET_ARCH) $(LIBDIR)
DEFINES += -DPROCESSOR_BUFFER_USE_EXCEPTIONS
INCLUDES += -I $(BLAZE_PATH)
all: app
app: objects link
.PHONY: Radio
objects: Radio
Radio:
@$(MAKE) -C $(LIBSRC_PATH)/cpp/radio
include $(MAKE_HOME)/link.mk
@@ -0,0 +1,10 @@
MAKE_HOME ?= /home/jens/work/software/make
CONFIG ?= debug
TARGET ?= farrow_test
BUILD_DIR ?= $(shell pwd)/build/${CONFIG}
MAKEFLAGS += --no-print-directory
LIBSRC_PATH ?= $(realpath ../../../../../../libsrc)
BLAZE_PATH ?= $(realpath ../../../../../../extlib/blaze)
export
@@ -0,0 +1,6 @@
int main()
{
}