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