Add skeleton libc definition
[bootloader-ap.git] / libc / Makefile
diff --git a/libc/Makefile b/libc/Makefile
new file mode 100644 (file)
index 0000000..2079f02
--- /dev/null
@@ -0,0 +1,11 @@
+libc_functions = atol.o atoi.o strcpy.o strlen.o strcmp.o strcat.o strncmp.o strchr.o __strcmp.o memset.o memcpy.o memmove.o memcmp.o hextoul.o ultohex.o bytetohex.o hex_into_ul.o
+
+libc.o: $(libc_functions)
+       $(LD) -r -N -o libc.o $(libc_functions)
+
+#all: libc.o
+
+clean:
+       rm -f *.o
+
+.PHONY: all clean