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