-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
40 lines (32 loc) · 845 Bytes
/
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
40
.PHONY: all run-rust run-bash run-python run-js run-ruby run-julia run-haskell
all: run-rust run-bash run-python run-js run-ruby run-julia
run-rust:
@echo ---
@echo "Running Rust implementation..."
cargo run --manifest-path rust/Cargo.toml
run-bash:
@echo ---
@echo "Running Bash implementation..."
bash bash/main.sh
run-python:
@echo ---
@echo "Running Python implementation..."
python3 python/main.py
run-js:
@echo ---
@echo "Running JavaScript implementation..."
node javascript/src/main.js
run-ruby:
@echo ---
@echo "Running Ruby implementation..."
ruby ruby/main.rb
run-julia:
@echo ---
@echo "Running Julia implementation..."
julia julia/main.jl
run-haskell:
@echo ---
@echo "Running Haskell implementation..."
ghc haskell/main.hs -o haskell/main
./haskell/main
rm haskell/main haskell/main.hi haskell/main.o