From effea962303d6efab446aee514187e5b038ca437 Mon Sep 17 00:00:00 2001 From: Sebastian Date: Wed, 15 Dec 2021 22:40:03 +0100 Subject: [PATCH] Added a makefile --- blocks/.gitignore | 2 ++ blocks/Makefile | 13 +++++++++++++ blocks/costas.h | 2 -- 3 files changed, 15 insertions(+), 2 deletions(-) create mode 100644 blocks/.gitignore create mode 100644 blocks/Makefile diff --git a/blocks/.gitignore b/blocks/.gitignore new file mode 100644 index 0000000..368962c --- /dev/null +++ b/blocks/.gitignore @@ -0,0 +1,2 @@ +.depends +*.o diff --git a/blocks/Makefile b/blocks/Makefile new file mode 100644 index 0000000..0d5ff69 --- /dev/null +++ b/blocks/Makefile @@ -0,0 +1,13 @@ +all: .depends costas.o + +CXX=clang++ +CXXFLAGS=-Wall +LDFLAGS=-lliquid + +.depends: *.cpp + $(CXX) -o .depends -M *.cpp + +%.o : %.cpp + $(CXX) $(CFLAGS) -c $< -o $@ + +include .depends diff --git a/blocks/costas.h b/blocks/costas.h index bfabf47..055c041 100644 --- a/blocks/costas.h +++ b/blocks/costas.h @@ -5,8 +5,6 @@ #include class CostasBeaconSync { - - float alpha; float beta;