summaryrefslogtreecommitdiff
path: root/mk/_enums.d
diff options
context:
space:
mode:
Diffstat (limited to 'mk/_enums.d')
-rw-r--r--mk/_enums.d9
1 files changed, 9 insertions, 0 deletions
diff --git a/mk/_enums.d b/mk/_enums.d
new file mode 100644
index 00000000..f676bb45
--- /dev/null
+++ b/mk/_enums.d
@@ -0,0 +1,9 @@
+libc_C.201112: libc.a(_enums.o)
+libc.a(_enums.o): $(OBJDIR)/_enums.o
+ @$(AR) $(ARFLAGS) $@ $(OBJDIR)/$%
+
+$(OBJDIR)/_enums.o: src/threads/_enums.c
+$(OBJDIR)/_enums.o:
+ @echo " [CC] $@"
+ @mkdir -p $(@D)
+ @$(CC) -c -o $@ $(CFLAGS) src/threads/_enums.c