diff options
Diffstat (limited to 'mk/semget.d')
| -rw-r--r-- | mk/semget.d | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/mk/semget.d b/mk/semget.d new file mode 100644 index 00000000..09152e93 --- /dev/null +++ b/mk/semget.d @@ -0,0 +1,9 @@ +libc_X.4: libc.a(semget.o) +libc.a(semget.o): $(OBJDIR)/semget.o + @$(AR) $(ARFLAGS) $@ $(OBJDIR)/$% + +$(OBJDIR)/semget.o: src/sys/sem/semget.c +$(OBJDIR)/semget.o: + @echo " [CC] $@" + @mkdir -p $(@D) + @$(CC) -c -o $@ $(CFLAGS) src/sys/sem/semget.c |
