File: makefile.f2py

package info (click to toggle)
petsc4py 3.23.1-1exp2
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 3,448 kB
  • sloc: python: 12,503; ansic: 1,697; makefile: 343; f90: 313; sh: 14
file content (14 lines) | stat: -rw-r--r-- 316 bytes parent folder | download | duplicates (3)
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