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/bool.d | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 mk/bool.d (limited to 'mk/bool.d') diff --git a/mk/bool.d b/mk/bool.d new file mode 100644 index 0000000..3249555 --- /dev/null +++ b/mk/bool.d @@ -0,0 +1,8 @@ +libcurses.a: libcurses.a(bool.o) +libcurses.a(bool.o): $(OBJDIR)/bool.o + @$(AR) $(ARFLAGS) $@ $(OBJDIR)/$% + +$(OBJDIR)/bool.o: curses/bool.c + @echo "[CC] $@" + @mkdir -p "$(@D)" + @$(CC) -c -o $@ $(CFLAGS) curses/bool.c -- cgit v1.2.1