################################################################################
#
# Build script for project
#
################################################################################

# Executable name
EXECUTABLE	:= prac2

# CUDA source files (compiled with nvcc)
CUFILES		:= prac2.cu

# CUDA dependency files
CU_DEPS		:= Makefile

# C/C++ source files (compiled with gcc/g++)
CCFILES		:= \


################################################################################
# Rules and targets

ROOTDIR = /opt/cuda/2.3/sdk/C/common
BINDIR  = ./bin
include $(ROOTDIR)/common.mk

LIB += -L/home/mgiles/mgiles/nag_gpu_rng -lnag_gpu_rng_S_Release

# flag to enable double precision
# NVCCFLAGS += -arch sm_13

# flag to save intermediate files to look at PTX code
# NVCCFLAGS += -keep

# flag to clean up afterwards
# NVCCFLAGS += -keep -clean

# flag to report on use of registers, shared memory, etc
NVCCFLAGS += -Xptxas -v

