source: CIVL/examples/openacc/acc_c3/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: 973 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
22CCFLAGS = -fast
23ACCFLAGS = -Minfo -acc $(OPT)
24
25all: build run verify
26
27build: acc_c3.c
28 $(CC) $(CCFLAGS) $(ACCFLAGS) -o acc_c3.$(EXE) $<
29
30run: acc_c3.$(EXE)
31 $(RUN) ./acc_c3.$(EXE)
32
33verify:
34
35
36clean:
37 @echo 'Cleaning up...'
38 @rm -rf *.$(EXE) *.$(OBJ) *.dwf *.pdb prof
Note: See TracBrowser for help on using the repository browser.