Added Examples
This commit is contained in:
parent
e51561f058
commit
cfb56f5d4d
1 changed files with 10 additions and 0 deletions
10
examples/compile_and_run_gcc.toml
Normal file
10
examples/compile_and_run_gcc.toml
Normal file
|
@ -0,0 +1,10 @@
|
|||
[vars]
|
||||
cc = "gcc"
|
||||
|
||||
[targets.build]
|
||||
cmd = "${cc} main.c -o main"
|
||||
|
||||
[targets.run]
|
||||
cmd = "./main arg1 arg2"
|
||||
deps = ["build"]
|
||||
|
Loading…
Reference in a new issue