example: use -o option in makefile
This commit is contained in:
parent
24f9a0f5b5
commit
0c9a4ccc8b
1 changed files with 5 additions and 5 deletions
|
@ -8,13 +8,13 @@ build/morphisms.h: build
|
|||
ldmc \
|
||||
-m "marshal: \
|
||||
ℕ ~ native.UInt64 \
|
||||
--> ℕ ~ <PosInt 10 BigEndian> ~ <Seq~<ValueTerminated 0> <Digit 10>~Char~Ascii~native.UInt8>" \
|
||||
\
|
||||
--> ℕ ~ <PosInt 10 BigEndian> ~ <Seq~<ValueTerminated 0> <Digit 10>~Char~Ascii~native.UInt8> \
|
||||
" \
|
||||
-m "demarshal: \
|
||||
ℕ ~ <PosInt 10 BigEndian> ~ <Seq~<ValueTerminated 0> <Digit 10>~Char~Ascii~native.UInt8> \
|
||||
--> ℕ ~ native.UInt64 " \
|
||||
\
|
||||
>| build/morphisms.h
|
||||
--> ℕ ~ native.UInt64 \
|
||||
" \
|
||||
-o build/morphisms.h
|
||||
|
||||
build/square: build build/morphisms.h
|
||||
gcc -Os -I../../morphisms/runtime/include/ -Ibuild main.c -o build/square
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue