Cleanup makefile
This commit is contained in:
20
Makefile
20
Makefile
@@ -1,9 +1,13 @@
|
||||
prefix?=$$HOME/.local
|
||||
target_bin=${prefix}/bin
|
||||
target_fun=${prefix}/share/mksh/funs
|
||||
bin=g
|
||||
fun=diralias j jmod nsalias rr
|
||||
prefix?=$$HOME/.local/cstow/kshutils
|
||||
bindir=${prefix}/bin
|
||||
libdir=${prefix}/share/mksh/funs
|
||||
bins=g
|
||||
libs=diralias j jmod nsalias rr
|
||||
|
||||
.PHONY: clean install
|
||||
install:
|
||||
install -d ${target_bin} ${target_fun}
|
||||
install -c ${bin} ${target_bin}
|
||||
install -c ${fun} ${target_fun}
|
||||
install -d ${bindir} ${libdir}
|
||||
install -c ${bins} ${bindir}
|
||||
install -c ${libs} ${libdir}
|
||||
clean:
|
||||
rm -f *~
|
||||
|
||||
Reference in New Issue
Block a user