mirror of
https://github.com/LCPQ/DEHam
synced 2025-01-03 01:55:55 +01:00
added working makefile
This commit is contained in:
parent
8e909ea5d6
commit
a88be2315e
16
Makefile
Normal file
16
Makefile
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
include ${SLEPC_DIR}/lib/slepc/conf/slepc_common
|
||||||
|
CC=gcc-5
|
||||||
|
MAKE = /usr/bin/make
|
||||||
|
|
||||||
|
irpf90.a:
|
||||||
|
cd src && $(MAKE) && cp irpf90.a ../
|
||||||
|
|
||||||
|
obj/read2.o: src/read2.c
|
||||||
|
${CC} -c -o $@ $<
|
||||||
|
|
||||||
|
obj/ex1.o: src/ex1.c
|
||||||
|
-${CC} -c -o $@ $< ${SLEPC_EPS_LIB}
|
||||||
|
|
||||||
|
ex1: obj/read2.o irpf90.a obj/ex1.o src/read2.h src/stimsyr.h chkopts
|
||||||
|
-${CLINKER} -o ex1 obj/ex1.o obj/read2.o irpf90.a ${SLEPC_EPS_LIB}# -lifcore -lirc -lcomposerxe_gen_helpers_core_2.3
|
||||||
|
# ${RM} ex1.o read2.o
|
Loading…
Reference in New Issue
Block a user