diff options
Diffstat (limited to 'mk/term_attrs.d')
-rw-r--r-- | mk/term_attrs.d | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/mk/term_attrs.d b/mk/term_attrs.d new file mode 100644 index 0000000..0c0f5b7 --- /dev/null +++ b/mk/term_attrs.d @@ -0,0 +1,8 @@ +libcurses.a: libcurses.a(term_attrs.o) +libcurses.a(term_attrs.o): $(OBJDIR)/term_attrs.o + @$(AR) $(ARFLAGS) $@ $(OBJDIR)/$% + +$(OBJDIR)/term_attrs.o: curses/term_attrs.c + @echo "[CC] $@" + @mkdir -p "$(@D)" + @$(CC) -c -o $@ $(CFLAGS) curses/term_attrs.c |