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