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