summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Build/Makefile13
-rw-r--r--NaiveFFT/main.c1
2 files changed, 14 insertions, 0 deletions
diff --git a/Build/Makefile b/Build/Makefile
new file mode 100644
index 0000000..8b31c12
--- /dev/null
+++ b/Build/Makefile
@@ -0,0 +1,13 @@
+
+CC=gcc
+SOURCEDIR=../NaiveFFT
+LDFLAGS=-lm
+
+make:
+ $(CC) -c $(SOURCEDIR)/main.c -g3
+ $(CC) main.o -o NaiveFFT $(LDFLAGS)
+
+
+web:
+ darkhttpd ./ --port 12345
+
diff --git a/NaiveFFT/main.c b/NaiveFFT/main.c
index f8b56cd..1d71ac5 100644
--- a/NaiveFFT/main.c
+++ b/NaiveFFT/main.c
@@ -12,6 +12,7 @@
#include <math.h>
#include <complex.h>
#include <time.h>
+#include <stdint.h>
//data array
#define DATA_SIZE (8)