summaryrefslogtreecommitdiff
path: root/mk/output_res_line.d
diff options
context:
space:
mode:
Diffstat (limited to 'mk/output_res_line.d')
-rw-r--r--mk/output_res_line.d8
1 files changed, 8 insertions, 0 deletions
diff --git a/mk/output_res_line.d b/mk/output_res_line.d
new file mode 100644
index 0000000..586be44
--- /dev/null
+++ b/mk/output_res_line.d
@@ -0,0 +1,8 @@
+libcurses.a: libcurses.a(output_res_line.o)
+libcurses.a(output_res_line.o): $(OBJDIR)/output_res_line.o
+ @$(AR) $(ARFLAGS) $@ $(OBJDIR)/$%
+
+$(OBJDIR)/output_res_line.o: term/output_res_line.c
+ @echo "[CC] $@"
+ @mkdir -p "$(@D)"
+ @$(CC) -c -o $@ $(CFLAGS) term/output_res_line.c