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