- Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathMakefile
More file actions
Latest commit
25 lines (19 loc) · 541 Bytes
/
Copy pathMakefile
File metadata and controls
25 lines (19 loc) · 541 Bytes
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
FILE = "examples/debug.asm"
MONITOR = "machine.memory"
default: stackvm
debug: stackvm
bin/stackvm build $(FILE) -o debug.bc -s
bin/stackvm run debug.bc --debugger
monitor: stackvm
bin/stackvm monitor $(MONITOR) -s 3
stackvm_release:
mkdir -p bin
crystal build src/stackvm.cr -o bin/stackvm --error-trace --no-debug --release
stackvm:
mkdir -p bin
crystal build src/stackvm.cr -o bin/stackvm --error-trace
clean:
find . -name ".DS_Store"| xargs rm
find . -name "*.swp"| xargs rm
find . -name "*.swo"| xargs rm
rm -rf bin