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