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