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