-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile.inc-profile
26 lines (21 loc) · 1.12 KB
/
Makefile.inc-profile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
include /home/luka/tau-2.23/x86_64/lib/Makefile.tau-mpi-pdt
#
# Common definitions used in all Makefiles
#
GRASS_TOPDIR = /usr/local/src/grass-6.4.2/dist.x86_64-unknown-linux-gnu
#GRASS_TOPDIR = /home/luka/grass-6.4.2
#CUDA_DIR = $(HOME)/AMD_SDK
CUDA_DIR = $(ATISTREAMSDKROOT)
PAPI_DIR = $(HOME)/papi
OCL_COMMON_LIB_DIR = ../ocl_common
PERFORMANCE_LIB_DIR = ../performance
CC = $(TAU_CC)
#PRJCFLAGS = -D_DEBUG_INFO_ -D_PERFORMANCE_METRICS_ -fno-strict-aliasing -mtune=native -g -O0 -Wall -Wno-unused-function -pipe
PRJCFLAGS = -D_PERFORMANCE_METRICS_ -fno-strict-aliasing -mtune=native -g -O0 -Wall -Wno-unused-function -pipe
#PRJCFLAGS = -fno-strict-aliasing -mtune=native -g -O0 -Wall -Wno-unused-function -pipe
PRJINCS = -I$(PAPI_DIR)/include -I$(CUDA_DIR)/include -I$(GRASS_TOPDIR)/include $(TAU_INCLUDE) $(TAU_DEFS) $(TAU_MPI_INCLUDE) -I.
PRJLIBS = -L$(PAPI_DIR)/lib -lpapi -L$(CUDA_DIR)/lib/x86_64 -L$(GRASS_TOPDIR)/lib $(TAU_MPI_LIBS) $(TAU_SHLIBS) $(USER_OPT) $(TAU_LDFLAGS) -lstdc++ -lpthread
RM = rm
ECHO = echo
SHELL = /bin/bash
.SILENT :