summaryrefslogtreecommitdiff
path: root/example/Makefile
diff options
context:
space:
mode:
authorJacob McDonnell <jacob@jacobmcdonnell.com>2026-04-04 21:44:15 -0400
committerJacob McDonnell <jacob@jacobmcdonnell.com>2026-04-04 21:44:15 -0400
commit7371d1028b20e72991cba0fd85469f8dd953ca1d (patch)
treec83eb340df3eb33e924cb94e436de55def2f0d74 /example/Makefile
parent9ddd0a948238ba910710321401674a01df874ba6 (diff)
build: Restructured project
Diffstat (limited to 'example/Makefile')
-rw-r--r--example/Makefile18
1 files changed, 18 insertions, 0 deletions
diff --git a/example/Makefile b/example/Makefile
new file mode 100644
index 0000000..6284df3
--- /dev/null
+++ b/example/Makefile
@@ -0,0 +1,18 @@
+#
+# Copyright (c) 2026 Jacob McDonnell
+#
+# SPDX-License-Identifier: BSD-2-Clause
+#
+PROG = main
+SRCS = main.c
+CFLAGS = -Wall \
+ -Werror \
+ -Wextra \
+ -Wpedantic \
+ -I../include
+ -std=c17
+LDFLAGS = -L../src \
+ -lMatfile
+
+include ../mk/mk/mcd.prog.mk
+