aboutsummaryrefslogtreecommitdiff
path: root/makefile
diff options
context:
space:
mode:
authorMarshall Lochbaum <mwlochbaum@gmail.com>2022-05-22 11:27:13 -0400
committerMarshall Lochbaum <mwlochbaum@gmail.com>2022-05-22 11:27:13 -0400
commite4ef704ae20e8ba22d38e08394b5c8e412081ab4 (patch)
treea294e6e3175edc4bdc746552727cf73ae5387c77 /makefile
parent72d062702750c2ca7d46c4356d1c5ba9b5062991 (diff)
Add optional support for C-based filter computation
Diffstat (limited to 'makefile')
-rw-r--r--makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/makefile b/makefile
new file mode 100644
index 0000000..e8c7e82
--- /dev/null
+++ b/makefile
@@ -0,0 +1,6 @@
+CFLAGS = -O3 -fPIC -ffast-math -march=native
+FLAGS = -shared
+TARGET = lib.so
+
+$(TARGET): lib.c
+ cc lib.c $(CFLAGS) $(FLAGS) -o $(TARGET)