mirror of
https://github.com/VictorEijkhout/TheArtOfHPC_vol3_cppf08programming.git
synced 2026-01-24 22:44:48 +09:00
34 lines
795 B
Makefile
34 lines
795 B
Makefile
# -*- makefile -*-
|
|
################################################################
|
|
####
|
|
#### This makefile is part of the course
|
|
#### Introduction to Scientific Programming in C++ and Fortran
|
|
#### by Victor Eijkhout (eijkhout@tacc.utexas.edu)
|
|
#### copyright 2019-2023 Victor Eijkhout
|
|
####
|
|
#### C++20 span & C++23 mdspan tests
|
|
####
|
|
################################################################
|
|
|
|
PROGRAMS = subspan
|
|
|
|
LANGUAGE = CXX
|
|
include ../Make.inc
|
|
CPPSTANDARD = 20
|
|
|
|
RUNS =
|
|
|
|
RUNS += run_subspan1 run_subspan2
|
|
run_subspan1 run_subspan2 : subspan
|
|
run_subspan1 :
|
|
@./subspan \
|
|
| awk '/span1/ {p=0} p==1 {print} /SPAN1/ {p=1}'
|
|
run_subspan2 :
|
|
@./subspan \
|
|
| awk '/span2/ {p=0} p==1 {print} /SPAN2/ {p=1}'
|
|
|
|
.PHONY: ${RUNS}
|
|
|
|
include ../../makefiles/Make.cmake
|
|
include ../../makefiles/Make.clean
|