|
|
@@ -42,6 +42,7 @@ BUILD_DIR := bin |
|
|
|
OBJ_DIR := $(BUILD_DIR)/obj |
|
|
|
DEP_DIR := $(BUILD_DIR)/.dep |
|
|
|
|
|
|
|
OUTPUT_DIR := out-rc3a |
|
|
|
|
|
|
|
# ========== Compiler settings ========== |
|
|
|
# Compiler flags for debug and release |
|
|
@@ -185,8 +186,8 @@ distbubbletonic: CFLAGS := $(REL_CFLAGS) -DCODE_VERSION=BUBBLETONIC |
|
|
|
distbubbletonic: CXXFLAGS := $(REL_CXXFLAGS) -DCODE_VERSION=BUBBLETONIC |
|
|
|
distbubbletonic: TARGET := distbubbletonic |
|
|
|
distbubbletonic: $(BUILD_DIR)/$(TARGET) |
|
|
|
@mkdir -p out |
|
|
|
cp $(BUILD_DIR)/$(TARGET) out/$(TARGET) |
|
|
|
@mkdir -p $(OUTPUT_DIR) |
|
|
|
cp $(BUILD_DIR)/$(TARGET) $(OUTPUT_DIR)/$(TARGET) |
|
|
|
|
|
|
|
distbitonic: CC := mpicc |
|
|
|
distbitonic: CXX := mpic++ |
|
|
@@ -194,8 +195,8 @@ distbitonic: CFLAGS := $(REL_CFLAGS) -DCODE_VERSION=BITONIC |
|
|
|
distbitonic: CXXFLAGS := $(REL_CXXFLAGS) -DCODE_VERSION=BITONIC |
|
|
|
distbitonic: TARGET := distbitonic |
|
|
|
distbitonic: $(BUILD_DIR)/$(TARGET) |
|
|
|
@mkdir -p out |
|
|
|
cp $(BUILD_DIR)/$(TARGET) out/$(TARGET) |
|
|
|
@mkdir -p $(OUTPUT_DIR) |
|
|
|
cp $(BUILD_DIR)/$(TARGET) $(OUTPUT_DIR)/$(TARGET) |
|
|
|
|
|
|
|
deb_distbubbletonic: CC := mpicc |
|
|
|
deb_distbubbletonic: CXX := mpic++ |
|
|
@@ -203,8 +204,8 @@ deb_distbubbletonic: CFLAGS := $(DEB_CFLAGS) -DCODE_VERSION=BUBBLETONIC -DDEBUG |
|
|
|
deb_distbubbletonic: CXXFLAGS := $(DEB_CXXFLAGS) -DCODE_VERSION=BUBBLETONIC -DDEBUG |
|
|
|
deb_distbubbletonic: TARGET := deb_distbubbletonic |
|
|
|
deb_distbubbletonic: $(BUILD_DIR)/$(TARGET) |
|
|
|
@mkdir -p out |
|
|
|
cp $(BUILD_DIR)/$(TARGET) out/$(TARGET) |
|
|
|
@mkdir -p $(OUTPUT_DIR) |
|
|
|
cp $(BUILD_DIR)/$(TARGET) $(OUTPUT_DIR)/$(TARGET) |
|
|
|
|
|
|
|
deb_distbitonic: CC := mpicc |
|
|
|
deb_distbitonic: CXX := mpic++ |
|
|
@@ -212,8 +213,8 @@ deb_distbitonic: CFLAGS := $(DEB_CFLAGS) -DCODE_VERSION=BITONIC -DDEBUG |
|
|
|
deb_distbitonic: CXXFLAGS := $(DEB_CXXFLAGS) -DCODE_VERSION=BITONIC -DDEBUG |
|
|
|
deb_distbitonic: TARGET := deb_distbitonic |
|
|
|
deb_distbitonic: $(BUILD_DIR)/$(TARGET) |
|
|
|
@mkdir -p out |
|
|
|
cp $(BUILD_DIR)/$(TARGET) out/$(TARGET) |
|
|
|
@mkdir -p $(OUTPUT_DIR) |
|
|
|
cp $(BUILD_DIR)/$(TARGET) $(OUTPUT_DIR)/$(TARGET) |
|
|
|
|
|
|
|
tests: CC := mpicc |
|
|
|
tests: CXX := mpic++ |
|
|
@@ -221,8 +222,8 @@ tests: CFLAGS := $(DEB_CFLAGS) -DCODE_VERSION=BITONIC -DDEBUG -DTESTING |
|
|
|
tests: CXXFLAGS := $(DEB_CXXFLAGS) -DCODE_VERSION=BITONIC -DDEBUG -DTESTING |
|
|
|
tests: TARGET := tests |
|
|
|
tests: $(BUILD_DIR)/$(TARGET) |
|
|
|
@mkdir -p out |
|
|
|
cp $(BUILD_DIR)/$(TARGET) out/$(TARGET) |
|
|
|
@mkdir -p $(OUTPUT_DIR) |
|
|
|
cp $(BUILD_DIR)/$(TARGET) $(OUTPUT_DIR)/$(TARGET) |
|
|
|
|
|
|
|
perfbitonic: CC := mpicc |
|
|
|
perfbitonic: CXX := mpic++ |
|
|
@@ -230,8 +231,8 @@ perfbitonic: CFLAGS := $(REL_CFLAGS) -g -DCODE_VERSION=BITONIC |
|
|
|
perfbitonic: CXXFLAGS := $(REL_CXXFLAGS) -g -DCODE_VERSION=BITONIC |
|
|
|
perfbitonic: TARGET := perfbitonic |
|
|
|
perfbitonic: $(BUILD_DIR)/$(TARGET) |
|
|
|
@mkdir -p out |
|
|
|
cp $(BUILD_DIR)/$(TARGET) out/$(TARGET) |
|
|
|
@mkdir -p $(OUTPUT_DIR) |
|
|
|
cp $(BUILD_DIR)/$(TARGET) $(OUTPUT_DIR)/$(TARGET) |
|
|
|
|
|
|
|
|
|
|
|
hpc-build: |
|
|
|