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