From 058ac436755b837ce9a12324fdf9d2217f0dc0a0 Mon Sep 17 00:00:00 2001 From: Jens Ahrensfeld Date: Mon, 13 Jun 2022 06:28:03 +0000 Subject: [PATCH] - fiexed makefile - compile main.cpp git-svn-id: http://moon:8086/svn/software/trunk/libsrc/cpp@948 b431acfa-c32f-4a4a-93f1-934dc6c82436 --- radio/tests/interpolation/farrow/Makefile | 16 +++++++++++----- radio/tests/interpolation/farrow/main.cpp | 2 +- 2 files changed, 12 insertions(+), 6 deletions(-) diff --git a/radio/tests/interpolation/farrow/Makefile b/radio/tests/interpolation/farrow/Makefile index b0a7de5..1fd6432 100644 --- a/radio/tests/interpolation/farrow/Makefile +++ b/radio/tests/interpolation/farrow/Makefile @@ -7,20 +7,26 @@ LDFLAGS_release := -O3 -flto TARGET_ARCH := -march=native CXXFLAGS += -std=c++20 +CXX_SRCS += $(realpath .)/main.cpp + LIBS := -lstdc++ -lm -lpthread -lrt LDFLAGS += $(TARGET_ARCH) $(LIBDIR) DEFINES += -DPROCESSOR_BUFFER_USE_EXCEPTIONS INCLUDES += -I $(BLAZE_PATH) -all: app -app: objects link +all: compile app +app: packages link -.PHONY: Radio +.PHONY: Radio Fir Crc -objects: Radio +packages: Radio Fir Crc Radio: @$(MAKE) -C $(LIBSRC_PATH)/cpp/radio +Fir: + @$(MAKE) -C $(LIBSRC_PATH)/fir +Crc: + @$(MAKE) -C $(LIBSRC_PATH)/crc - +include $(MAKE_HOME)/compile.mk include $(MAKE_HOME)/link.mk diff --git a/radio/tests/interpolation/farrow/main.cpp b/radio/tests/interpolation/farrow/main.cpp index e6b9bb0..9317e40 100644 --- a/radio/tests/interpolation/farrow/main.cpp +++ b/radio/tests/interpolation/farrow/main.cpp @@ -2,5 +2,5 @@ int main() { - + return 0; } \ No newline at end of file