From 5e22f8ab246eae8f38b5c3f3582fb49f3d16d418 Mon Sep 17 00:00:00 2001 From: Jakob Kaivo Date: Fri, 14 Aug 2020 22:18:59 -0400 Subject: better dependencies from better autogeneration --- mk/getbkgrnd.d | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 mk/getbkgrnd.d (limited to 'mk/getbkgrnd.d') diff --git a/mk/getbkgrnd.d b/mk/getbkgrnd.d new file mode 100644 index 00000000..c78d6b88 --- /dev/null +++ b/mk/getbkgrnd.d @@ -0,0 +1,10 @@ +libcurses_X.400: libcurses.a(getbkgrnd.o) +libcurses.a(getbkgrnd.o): $(OBJDIR)/getbkgrnd.o + @$(AR) $(ARFLAGS) $@ $(OBJDIR)/$% + +$(OBJDIR)/getbkgrnd.o: src/curses/getbkgrnd.c +$(OBJDIR)/getbkgrnd.o: src/curses/_curses.h +$(OBJDIR)/getbkgrnd.o: + @echo " [CC] $@" + @mkdir -p $(@D) + @$(CC) -c -o $@ $(CFLAGS) src/curses/getbkgrnd.c -- cgit v1.2.1