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