-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathMakefile
39 lines (33 loc) · 1.21 KB
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
all: bin bin/git-pick-patch bin/bloomutil bin/zenburn bin/file-indexer
bin/zenburn: zenburn.lisp
sbcl --lose-on-corruption --disable-ldb --disable-debugger \
--no-userinit --no-sysinit \
--eval '(push :fw.dump *features*)' \
--load zenburn.lisp \
--eval '(fwoar.zenburn:dump)'
mv zenburn bin
bin:
mkdir -p bin
bin/bloomutil: bloomutil.lisp
sbcl --disable-debugger \
--no-userinit \
--eval '(pushnew :fw.dump *features*)' \
--load bloomutil.lisp \
--eval '(fwoar.bloomutil::dump)'
mv bloomutil bin
bin/file-indexer: file-indexer.lisp
sbcl --disable-debugger \
--no-userinit \
--eval '(pushnew :fw.dump *features*)' \
--load file-indexer.lisp \
--eval '(fwoar.file-indexer::dump)'
mv file-indexer bin
bin/git-pick-patch: git-pick-patch.lisp
sbcl --disable-ldb --lose-on-corruption --disable-debugger --no-userinit --no-sysinit \
--load "$(HOME)"/quicklisp/setup.lisp \
--eval "(ql:quickload '(:alexandria :serapeum :cl-ppcre))" \
--load git-pick-patch.lisp \
--eval '(save-lisp-and-die "bin/git-pick-patch"'" :executable t :toplevel 'git-pick-patch::main :compression t)"
install: all
mkdir -p ${HOME}/bin
ln -sf ${PWD}/bin/* ${HOME}/bin