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

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