summaryrefslogtreecommitdiff
path: root/usr/sdk/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'usr/sdk/Makefile')
-rw-r--r--usr/sdk/Makefile21
1 files changed, 21 insertions, 0 deletions
diff --git a/usr/sdk/Makefile b/usr/sdk/Makefile
new file mode 100644
index 0000000..9a5cc73
--- /dev/null
+++ b/usr/sdk/Makefile
@@ -0,0 +1,21 @@
+#
+# Copyright (c) 2025, Ian Moffett.
+# Provided under the BSD-3 clause.
+#
+
+CFILES = $(shell find common/ -name "*.c")
+OFILES = $(CFILES:.c=.o)
+
+CC =
+LD =
+
+ARCH =
+SYS_CFLAGS =
+CFLAGS = $(SYS_CFLAGS) -Iinc/
+
+.PHONY: all
+all: $(OFILES)
+ $(AR) rcs libmos.a $(OFILES)
+
+%.o: %.c
+ $(CC) -c $(CFLAGS) $< -o $@