sort into folders
This commit is contained in:
7
Misc./cross_compile/Makefile
Normal file
7
Misc./cross_compile/Makefile
Normal file
@ -0,0 +1,7 @@
|
||||
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
|
Reference in New Issue
Block a user