summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJacob McDonnell <jacob@jacobmcdonnell.com>2026-04-04 17:41:01 -0400
committerJacob McDonnell <jacob@jacobmcdonnell.com>2026-04-04 17:41:01 -0400
commit20e247e31fb40bf2228a2ed84b93896fc48b5eff (patch)
tree91f721c57a0565b66eae16562e1fbbf9a588d324 /Makefile
parent0ead69cdfa8886775212a85fed3aa962fc22902a (diff)
feat: Producing a Readable MAT-File
Producing a readable MAT-File of a 1x5 Array of doubles. The file is somewhat manually generated, but currently works.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile21
1 files changed, 21 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..7746ba9
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,21 @@
+CC = gcc-15
+CFLAGS = -std=c17 \
+ -Wall \
+ -Werror \
+ -Wextra \
+ -Wpedantic \
+ -Iinclude
+SRCS = src/main.c \
+ src/matfile.c
+PROG = main
+
+all: $(PROG)
+
+$(PROG): $(SRCS)
+ $(CC) $(CFLAGS) -o $@ $^
+
+clean:
+ rm -rf $(PROG)
+
+.PHONY: all clean
+