summaryrefslogtreecommitdiff
path: root/mk/swab.d
blob: cff5981bfd878059e349b9de7c8b4a8940484a9d (plain)
1
2
3
4
5
6
7
8
libc_X.4: libc.a(swab.o)
libc.a(swab.o): $(OBJDIR)/swab.o
	@$(AR) $(ARFLAGS) $@ $(OBJDIR)/$%

$(OBJDIR)/swab.o: src/unistd/swab.c
$(OBJDIR)/swab.o:
	@mkdir -p $(@D)
	$(CC) -c -o $@ $(CFLAGS) src/unistd/swab.c