1 SOURCES_BASE
= readline.vim types.vim reader.vim printer.vim
2 SOURCES_LISP
= env.vim core.vim stepA_mal.vim
3 SOURCES
= $(SOURCES_BASE
) $(SOURCES_LISP
)
7 libvimreadline.so
: vimreadline.o
8 $(CC
) -g
-shared
-o
$@
$< -lreadline
10 vimreadline.o
: vimreadline.c
11 $(CC
) -g
-fPIC
-c
$< -o
$@
14 rm -f vimreadline.o libvimreadline.so
18 @printf
"%5s %5s %5s %s\n" `grep -E "^[[:space:]]*\"|^[[:space:]]*$$" $^ | wc` "[comments/blanks]"
19 stats-lisp
: $(SOURCES_LISP
)
21 @printf
"%5s %5s %5s %s\n" `grep -E "^[[:space:]]*\"|^[[:space:]]*$$" $^ | wc` "[comments/blanks]"
23 .PHONY
: stats stats-lisp
clean