mirror of
https://github.com/TREX-CoE/trexio.git
synced 2024-12-23 04:43:57 +01:00
link module when compiling fortran test
This commit is contained in:
parent
f8a28a037d
commit
81810669ab
@ -51,7 +51,7 @@ fortran: libtrexio.so trexio_f.f90
|
|||||||
test: libtrexio.so test.c test.f90 trexio_f.o
|
test: libtrexio.so test.c test.f90 trexio_f.o
|
||||||
rm -f -r test_text_fort/
|
rm -f -r test_text_fort/
|
||||||
$(CC) $(CFLAGS) $(INCLUDE) -Wl,-rpath,$(PWD) -L. test.c -ltrexio $(LIBS) -o test
|
$(CC) $(CFLAGS) $(INCLUDE) -Wl,-rpath,$(PWD) -L. test.c -ltrexio $(LIBS) -o test
|
||||||
$(CC) $(CFLAGS) $(INCLUDE) -Wl,-rpath,$(PWD) -L. test.f90 -ltrexio $(LIBS) -o test_f
|
$(CC) $(CFLAGS) $(INCLUDE) -Wl,-rpath,$(PWD) -L. test.f90 trexio_f.o -ltrexio $(LIBS) -o test_f
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -f *.o libtrexio.so test test_*.h5 test_f
|
rm -f *.o libtrexio.so test test_*.h5 test_f
|
||||||
|
Loading…
Reference in New Issue
Block a user