summaryrefslogtreecommitdiffhomepage
path: root/Makefile
diff options
context:
space:
mode:
authorRoland Stigge <stigge@antcom.de>2019-01-27 13:32:40 +0100
committerRoland Stigge <stigge@antcom.de>2019-01-27 13:32:40 +0100
commitba9179c7991eeaf1b8d59a0db3975f049b2735b7 (patch)
treeec07f6f8144b95f92f57ed076da215cca964a77a /Makefile
parentdb0d20a6c322211593fecf209898f2435468e813 (diff)
Added half FFT and magnitudes
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 8a88b0c..deedfd3 100644
--- a/Makefile
+++ b/Makefile
@@ -9,9 +9,15 @@ CXXFLAGS=-stdlib=libc++ -Wall -O2 -std=c++17
all: fft
-fft: fft.cpp
+fft: fft.o main.o
$(CXX) $(CXXFLAGS) -o $@ $^
+fft.o: fft.cpp fft.h
+ $(CXX) $(CXXFLAGS) -c -o $@ $<
+
+main.o: main.cpp fft.h
+ $(CXX) $(CXXFLAGS) -c -o $@ $<
+
install:
clean: