summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile28
1 files changed, 8 insertions, 20 deletions
diff --git a/Makefile b/Makefile
index 7746ba9..4bb3bef 100644
--- a/Makefile
+++ b/Makefile
@@ -1,21 +1,9 @@
-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
+#
+# Copyright (c) 2026 Jacob McDonnell
+#
+# SPDX-License-Identifier: BSD-2-Clause
+#
+SUBDIRS = src example
+
+include mk/mk/mcd.subdir.mk