mirror of
https://github.com/captn3m0/dotfiles.git
synced 2024-09-06 19:45:55 +00:00
22 lines
585 B
Makefile
22 lines
585 B
Makefile
rubyfiles := $(shell find ruby -name '*.rb')
|
|
cfiles := $(shell find ruby -name '*.c')
|
|
cheaders := $(shell find ruby -name '*.h')
|
|
depends := $(shell find ruby -name depend)
|
|
txtfiles := $(shell find doc -name '*.txt')
|
|
vimfiles := $(shell find plugin -name '*.vim')
|
|
|
|
vimball: command-t.vba
|
|
|
|
command-t.recipe: $(rubyfiles) $(cfiles) $(cheaders) $(depends) $(txtfiles) $(vimfiles)
|
|
echo "$^" | perl -pe 's/ /\n/g' > $@
|
|
command-t.vba: command-t.recipe
|
|
vendor/vimball/vimball.rb -d . -b . vba $^
|
|
|
|
.PHONY: spec
|
|
spec:
|
|
rspec spec
|
|
|
|
.PHONY: clean
|
|
clean:
|
|
rm -f command-t.vba
|