2024-03-10 16:02:52 +01:00

8 lines
165 B
Makefile

main:
gcc -shared thing.c -o libthing.so
gfortran main.f95 -o main.out -L. -lthing
run:
export LD_LIBRARY_PATH=$$(realpath .):$${LD_LIBRARY_PATH}; \
./main.out