summaryrefslogtreecommitdiff
path: root/mk/set_right_margin.d
blob: 636388bc3a30774df756ecc716d894f336abbcaf (plain)
1
2
3
4
5
6
7
8
libcurses.a: libcurses.a(set_right_margin.o)
libcurses.a(set_right_margin.o): $(OBJDIR)/set_right_margin.o
	@$(AR) $(ARFLAGS) $@ $(OBJDIR)/$%

$(OBJDIR)/set_right_margin.o: term/set_right_margin.c
	@echo "[CC] $@"
	@mkdir -p "$(@D)"
	@$(CC) -c -o $@ $(CFLAGS) term/set_right_margin.c