source: CIVL/examples/openacc/acc_c3a/Makefile

main
Last change on this file was ea777aa, checked in by Alex Wilton <awilton@…>, 3 years ago

Moved examples, include, build_default.properties, common.xml, and README out from dev.civl.com into the root of the repo.

git-svn-id: svn://vsl.cis.udel.edu/civl/trunk@5704 fb995dde-84ed-4084-dfe6-e5aef3e2452c

  • Property mode set to 100644
File size: 978 bytes
Line 
1################################################################################
2#
3# Copyright (c) 2016, NVIDIA Corporation. All rights reserved.
4#
5# Please refer to the NVIDIA end user license agreement (EULA) associated
6# with this source code for terms and conditions that govern your use of
7# this software. Any use, reproduction, disclosure, or distribution of
8# this software and related documentation outside the terms of the EULA
9# is strictly prohibited.
10#
11################################################################################
12
13CC = pgcc
14OBJ = o
15EXE = out
16RUN =
17UNAME := $(shell uname -a)
18ifeq ($(findstring CYGWIN_NT, $(UNAME)), CYGWIN_NT)
19OBJ = obj
20EXE = exe
21endif
22
23CCFLAGS = -fast
24ACCFLAGS = -Minfo -acc $(OPT)
25
26all: build run verify
27
28build: acc_c3a.c
29 $(CC) $(CCFLAGS) $(ACCFLAGS) -o acc_c3a.$(EXE) $<
30
31run: acc_c3a.$(EXE)
32 $(RUN) ./acc_c3a.$(EXE)
33
34verify:
35
36
37clean:
38 @echo 'Cleaning up...'
39 @rm -rf *.$(EXE) *.$(OBJ) *.dwf *.pdb prof
Note: See TracBrowser for help on using the repository browser.