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