summaryrefslogtreecommitdiff
path: root/mk/clock_gettime.d
blob: 30ee26035e776a2d5fcdbe8869c826d3cf31968a (plain)
1
2
3
4
5
6
7
8
9
librt_P.199309: librt.a(clock_gettime.o)
librt.a(clock_gettime.o): $(OBJDIR)/clock_gettime.o
	@$(AR) $(ARFLAGS) $@ $(OBJDIR)/$%

$(OBJDIR)/clock_gettime.o: src/time/clock_gettime.c
$(OBJDIR)/clock_gettime.o: src/_safety.h
$(OBJDIR)/clock_gettime.o:
	@mkdir -p $(@D)
	$(CC) -c -o $@ $(CFLAGS) src/time/clock_gettime.c