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