diff options
Diffstat (limited to 'mk/addstr.d')
| -rw-r--r-- | mk/addstr.d | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/mk/addstr.d b/mk/addstr.d new file mode 100644 index 00000000..67e0ac15 --- /dev/null +++ b/mk/addstr.d @@ -0,0 +1,10 @@ +libcurses_X.400: libcurses.a(addstr.o) +libcurses.a(addstr.o): $(OBJDIR)/addstr.o + @$(AR) $(ARFLAGS) $@ $(OBJDIR)/$% + +$(OBJDIR)/addstr.o: src/curses/addstr.c +$(OBJDIR)/addstr.o: src/curses/_curses.h +$(OBJDIR)/addstr.o: + @echo " [CC] $@" + @mkdir -p $(@D) + @$(CC) -c -o $@ $(CFLAGS) src/curses/addstr.c |
