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 |
|
|---|
| 13 | CC = pgcc
|
|---|
| 14 | OBJ = o
|
|---|
| 15 | EXE = out
|
|---|
| 16 | RUN =
|
|---|
| 17 | UNAME := $(shell uname -a)
|
|---|
| 18 | ifeq ($(findstring CYGWIN_NT, $(UNAME)), CYGWIN_NT)
|
|---|
| 19 | OBJ = obj
|
|---|
| 20 | EXE = exe
|
|---|
| 21 | endif
|
|---|
| 22 |
|
|---|
| 23 | CCFLAGS = -fast
|
|---|
| 24 | ACCFLAGS = -Minfo -acc $(OPT)
|
|---|
| 25 |
|
|---|
| 26 | all: build run verify
|
|---|
| 27 |
|
|---|
| 28 | build: acc_c3a.c
|
|---|
| 29 | $(CC) $(CCFLAGS) $(ACCFLAGS) -o acc_c3a.$(EXE) $<
|
|---|
| 30 |
|
|---|
| 31 | run: acc_c3a.$(EXE)
|
|---|
| 32 | $(RUN) ./acc_c3a.$(EXE)
|
|---|
| 33 |
|
|---|
| 34 | verify:
|
|---|
| 35 |
|
|---|
| 36 |
|
|---|
| 37 | clean:
|
|---|
| 38 | @echo 'Cleaning up...'
|
|---|
| 39 | @rm -rf *.$(EXE) *.$(OBJ) *.dwf *.pdb prof
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.