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