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