-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
49 lines (31 loc) · 1.03 KB
/
Makefile
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
#
# Simple Makefile for GRACE
#
# Guozhang Wang 1/19/2012
#
#
PKGNAME := GRACE
ifndef CUDB_PREFIX
$(error CUDB_PREFIX does not exist)
endif
include MakefileCommon
################################################################################
#CXX := $(shell which c++)
CXX := g++
CXXFLAGS = -O3 #-ffast-math
DEFFLAGS = -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -DDBUTL_NDEBUG #-DMEMORY_BARRIER
################################################################################
#
# List of all targets ...
#
.PHONY : all
all: $(BIN)/GRACE.$(CMD_EXT)
#
################################################################################
grace_NAMES := Driver Scheduler GraphBase Graph Job TaskBase Task GraphReader Profile GraphBlock Util SparseScheduler
LIB_NAMES := -lDBUtl -lpthread -lrt
$(eval $(call GrpBEGIN,$(SRC)))
$(eval $(call GrpADD4CMD,$(grace_NAMES)))
$(eval $(call GrpADD4CMD,main))
$(eval $(call GrpMKCMD,GRACE,$(LIB_NAMES),$(grace_NAMES) main))
$(eval $(call GrpEND))