From 2dfbde5af2e1745ff7351e759c249f124e535504 Mon Sep 17 00:00:00 2001 From: Jens Ahrensfeld Date: Mon, 13 Jun 2022 06:52:25 +0000 Subject: [PATCH] - compile clean git-svn-id: http://moon:8086/svn/software/trunk/libsrc/cpp@951 b431acfa-c32f-4a4a-93f1-934dc6c82436 --- radio/tests/interpolation/farrow/Makefile | 4 +++- radio/tests/interpolation/farrow/main.cpp | 4 ++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/radio/tests/interpolation/farrow/Makefile b/radio/tests/interpolation/farrow/Makefile index 1fd6432..f7d68f1 100644 --- a/radio/tests/interpolation/farrow/Makefile +++ b/radio/tests/interpolation/farrow/Makefile @@ -7,7 +7,9 @@ LDFLAGS_release := -O3 -flto TARGET_ARCH := -march=native CXXFLAGS += -std=c++20 -CXX_SRCS += $(realpath .)/main.cpp +PWD := $(realpath .) +CXX_SRCS += $(PWD)/main.cpp +CXX_SRCS += $(PWD)/test.cpp LIBS := -lstdc++ -lm -lpthread -lrt LDFLAGS += $(TARGET_ARCH) $(LIBDIR) diff --git a/radio/tests/interpolation/farrow/main.cpp b/radio/tests/interpolation/farrow/main.cpp index 9317e40..652fc11 100644 --- a/radio/tests/interpolation/farrow/main.cpp +++ b/radio/tests/interpolation/farrow/main.cpp @@ -1,6 +1,10 @@ +#include +using namespace std; +void test(); int main() { + cout << "Halo, Welt!" << endl; return 0; } \ No newline at end of file