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

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