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