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