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