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