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