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

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