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