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