1 | ################################################################################ |
---|
2 | # |
---|
3 | # Copyright 1993-2006 NVIDIA Corporation. All rights reserved. |
---|
4 | # |
---|
5 | # NOTICE TO USER: |
---|
6 | # |
---|
7 | # This source code is subject to NVIDIA ownership rights under U.S. and |
---|
8 | # international Copyright laws. |
---|
9 | # |
---|
10 | # NVIDIA MAKES NO REPRESENTATION ABOUT THE SUITABILITY OF THIS SOURCE |
---|
11 | # CODE FOR ANY PURPOSE. IT IS PROVIDED "AS IS" WITHOUT EXPRESS OR |
---|
12 | # IMPLIED WARRANTY OF ANY KIND. NVIDIA DISCLAIMS ALL WARRANTIES WITH |
---|
13 | # REGARD TO THIS SOURCE CODE, INCLUDING ALL IMPLIED WARRANTIES OF |
---|
14 | # MERCHANTABILITY, NONINFRINGEMENT, AND FITNESS FOR A PARTICULAR PURPOSE. |
---|
15 | # IN NO EVENT SHALL NVIDIA BE LIABLE FOR ANY SPECIAL, INDIRECT, INCIDENTAL, |
---|
16 | # OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS |
---|
17 | # OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE |
---|
18 | # OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE |
---|
19 | # OR PERFORMANCE OF THIS SOURCE CODE. |
---|
20 | # |
---|
21 | # U.S. Government End Users. This source code is a "commercial item" as |
---|
22 | # that term is defined at 48 C.F.R. 2.101 (OCT 1995), consisting of |
---|
23 | # "commercial computer software" and "commercial computer software |
---|
24 | # documentation" as such terms are used in 48 C.F.R. 12.212 (SEPT 1995) |
---|
25 | # and is provided to the U.S. Government only as a commercial end item. |
---|
26 | # Consistent with 48 C.F.R.12.212 and 48 C.F.R. 227.7202-1 through |
---|
27 | # 227.7202-4 (JUNE 1995), all U.S. Government End Users acquire the |
---|
28 | # source code with only those rights set forth herein. |
---|
29 | # |
---|
30 | ################################################################################ |
---|
31 | # |
---|
32 | # Build script for project |
---|
33 | # |
---|
34 | ################################################################################ |
---|
35 | |
---|
36 | verbose = 1 |
---|
37 | |
---|
38 | # SAGE flags |
---|
39 | COMMONFLAGS = -DSAGE_APP -I${SAGE_DIRECTORY}/include |
---|
40 | |
---|
41 | # Add source files here |
---|
42 | EXECUTABLE := fluidsGL |
---|
43 | # Cuda source files (compiled with cudacc) |
---|
44 | CUFILES += fluidsGL.cu |
---|
45 | |
---|
46 | ################################################################################ |
---|
47 | USEGLLIB := 1 |
---|
48 | USECUFFT := 1 |
---|
49 | USEGLUT := 1 |
---|
50 | |
---|
51 | include common.mk |
---|