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