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