File: makefile.f2py

package info (click to toggle)
petsc4py 3.24.1-1exp1
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 3,524 kB
  • sloc: python: 12,958; ansic: 1,768; makefile: 343; f90: 313; sh: 14
file content (14 lines) | stat: -rw-r--r-- 316 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
-include ../../../../../petscdir.mk.f2py
# -*- makefile -*-

MODULE=App
.PHONY:all
all: ${MODULE}.so

F2PY = f2py
F2PY_FLAGS  = --quiet
F2PY_FLAGS += --noarch --f90flags=''
F2PY_FLAGS += -DF2PY_REPORT_ON_ARRAY_COPY=1

${MODULE}.so: ${MODULE}.pyf ${MODULE}.f90
	${F2PY} ${F2PY_FLAGS} -m ${MODULE} -c $< ${MODULE}.f90