From 747e7a9be2a3aa6081f7819a5bafe6f87147d48e Mon Sep 17 00:00:00 2001 From: Jakob Kaivo Date: Wed, 13 Apr 2022 20:04:40 -0400 Subject: preliminary build support --- mk/set_bottom_margin.d | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 mk/set_bottom_margin.d (limited to 'mk/set_bottom_margin.d') diff --git a/mk/set_bottom_margin.d b/mk/set_bottom_margin.d new file mode 100644 index 0000000..68b8cd5 --- /dev/null +++ b/mk/set_bottom_margin.d @@ -0,0 +1,8 @@ +libcurses.a: libcurses.a(set_bottom_margin.o) +libcurses.a(set_bottom_margin.o): $(OBJDIR)/set_bottom_margin.o + @$(AR) $(ARFLAGS) $@ $(OBJDIR)/$% + +$(OBJDIR)/set_bottom_margin.o: term/set_bottom_margin.c + @echo "[CC] $@" + @mkdir -p "$(@D)" + @$(CC) -c -o $@ $(CFLAGS) term/set_bottom_margin.c -- cgit v1.2.1