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