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

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