mirror of
https://github.com/Kindelia/Kind2.git
synced 2024-09-19 20:08:12 +03:00
update makefile
This commit is contained in:
parent
1319f4e188
commit
6bf1600b39
2
.gitignore
vendored
2
.gitignore
vendored
@ -5,6 +5,8 @@ scripts/
|
||||
src/_*
|
||||
src/tmp*
|
||||
bin/hs/cabal.project.local*
|
||||
bin/scm/scheme/
|
||||
bin/scm/bin/
|
||||
tmp.js
|
||||
.vscode
|
||||
*.orig
|
||||
|
@ -1,17 +1,27 @@
|
||||
all: bin/kind-scm kind-scm.deb
|
||||
all: bin/kind-scm
|
||||
|
||||
deb: kind-scm.deb
|
||||
|
||||
# compiles kind files to scheme you could replace kind-scm with kind
|
||||
bootstrap:
|
||||
cd ../../base && kind-scm Kind.Comp.Target.Scheme.bootstrap --run
|
||||
|
||||
clean:
|
||||
rm src/*.wpo
|
||||
rm src/*.so
|
||||
rm src/*.chez
|
||||
rm src/*.generated.c
|
||||
rm bin/*
|
||||
|
||||
bin/kind-scm:
|
||||
cd src/ && scheme compile.scm
|
||||
chmod +x bin/kind-scm
|
||||
|
||||
kind-scm.deb: bin/kind-scm
|
||||
mkdir -p kind-scm_1.0.1-0_amd64/usr/local/bin/
|
||||
cp bin/kind-scm kind-scm_1.0.1-0_amd64/usr/local/bin/
|
||||
dpkg-deb --root-owner-group --build kind-scm_1.0.1-0_amd64/ bin/kind-scm_1.0.1-0_amd64.deb
|
||||
|
||||
install: bin/kind-scm
|
||||
chmod +x bin/kind-scm
|
||||
cp bin/kind-scm /usr/local/bin/
|
||||
|
Loading…
Reference in New Issue
Block a user