]> git.buserror.net Git - polintos/scott/priv.git/blobdiff - lib/c/freestanding/Makefile
Move some freestanding libc functions from the kernel into
[polintos/scott/priv.git] / lib / c / freestanding / Makefile
diff --git a/lib/c/freestanding/Makefile b/lib/c/freestanding/Makefile
new file mode 100644 (file)
index 0000000..0257e46
--- /dev/null
@@ -0,0 +1,10 @@
+DIR := c/freestanding/
+DIRS += $(DIR)
+
+RAW_CFILES := sprintf string
+CFILES += $(RAW_CFILES:%=$(DIR)%)
+
+RAW_CXXFILES :=
+CXXFILES += $(RAW_CXXFILES:%=$(DIR)%)
+
+TARGETS += $(BUILDDIR)/c/libfreestanding.a