summaryrefslogtreecommitdiff
path: root/mk/strfmon.d
diff options
context:
space:
mode:
Diffstat (limited to 'mk/strfmon.d')
-rw-r--r--mk/strfmon.d10
1 files changed, 10 insertions, 0 deletions
diff --git a/mk/strfmon.d b/mk/strfmon.d
new file mode 100644
index 00000000..e3e1a7c6
--- /dev/null
+++ b/mk/strfmon.d
@@ -0,0 +1,10 @@
+libc_P.200809: libc.a(strfmon.o)
+libc_X.4: libc.a(strfmon.o)
+libc.a(strfmon.o): $(OBJDIR)/strfmon.o
+ @$(AR) $(ARFLAGS) $@ $(OBJDIR)/$%
+
+$(OBJDIR)/strfmon.o: src/monetary/strfmon.c
+$(OBJDIR)/strfmon.o:
+ @echo " [CC] $@"
+ @mkdir -p $(@D)
+ @$(CC) -c -o $@ $(CFLAGS) src/monetary/strfmon.c