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