From ba9179c7991eeaf1b8d59a0db3975f049b2735b7 Mon Sep 17 00:00:00 2001 From: Roland Stigge Date: Sun, 27 Jan 2019 13:32:40 +0100 Subject: Added half FFT and magnitudes --- Makefile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'Makefile') 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: -- cgit v1.2.3