time-to-botec/C/alt/03-xorshift-scratchpad/makefile
NunoSempere 2a9d3bf135 factorize paralellization in C code out
- Conceptually clearer
- Allows for composing multiple mixtures together
- Considering incorporating it into squiggle.c
2023-11-18 19:43:10 +00:00

16 lines
318 B
Makefile

build:
gcc xorshift-pointer.c -o out/xorshift-pointer
gcc xorshift-struct.c -o out/xorshift-struct
run-pointer:
./out/xorshift-pointer
run-struct:
./out/xorshift-struct
time-pointer:
/bin/time -f "Time: %es" ./out/xorshift-pointer && echo
time-struct:
/bin/time -f "Time: %es" ./out/xorshift-struct && echo