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