mirror of
https://github.com/Findus23/rebound-collisions.git
synced 2024-09-19 15:53:48 +02:00
8 lines
163 B
Bash
8 lines
163 B
Bash
|
#!/bin/bash
|
||
|
|
||
|
set -x
|
||
|
set -e
|
||
|
|
||
|
gcc -c -fPIC -O3 -Wall heartbeat.c -o heartbeat.o
|
||
|
gcc -L. -shared heartbeat.o -o heartbeat.so -lrebound -Wl,-rpath='./heartbeat' -Wall
|