xref: /libCEED/examples/python/Makefile (revision 3eb59678ecb8a0fe884fb9297a6048221d053835)
1# Copyright (c) 2017-2025, Lawrence Livermore National Security, LLC and other CEED contributors.
2# All Rights Reserved. See the top-level LICENSE and NOTICE files for details.
3#
4# SPDX-License-Identifier: BSD-2-Clause
5#
6# This file is part of CEED:  http://github.com/ceed
7
8PYTHON ?= python3
9
10clean:
11	rm -rf build __pycache__ .pytest_cache *.so
12
13setup:
14	$(PYTHON) setup_qfunctions.py build
15
16TEST_OPTS ?= --ceed /cpu/self/ref/serial
17test: setup
18	$(PYTHON) -m pytest ex_test.py $(TEST_OPTS)
19
20.PHONY: clean setup test
21