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