From 47d6451d033ae32f89cf6834780d75372b6ca3ec Mon Sep 17 00:00:00 2001 From: Axel Kohlmeyer Date: Mon, 20 Mar 2017 17:18:24 -0400 Subject: [PATCH] fix compilation for pymol_asphere tool --- tools/pymol_asphere/README | 0 tools/pymol_asphere/src/Makefile | 11 ++++++++--- 2 files changed, 8 insertions(+), 3 deletions(-) mode change 100755 => 100644 tools/pymol_asphere/README diff --git a/tools/pymol_asphere/README b/tools/pymol_asphere/README old mode 100755 new mode 100644 diff --git a/tools/pymol_asphere/src/Makefile b/tools/pymol_asphere/src/Makefile index 80edb7582a..5f8bd6ec70 100755 --- a/tools/pymol_asphere/src/Makefile +++ b/tools/pymol_asphere/src/Makefile @@ -57,8 +57,8 @@ ifeq ($(COMPILER),gnu) CPP = g++ # C++ Compiler CC = gcc # C compiler AR = ar - DBUG = -O2 # -g -DDEBUG -DNANCHECK -Wall -pedantic #-ansi - OPT = #-O3 + DBUG = -O2 -g -Wall #-DDEBUG -DNANCHECK -Wall -pedantic #-ansi + OPT = #-O3 -g -Wall endif ifeq ($(COMPILER),mpi) @@ -111,7 +111,12 @@ OBJ_DIR = $(HOBJ_DIR) THIS_OBJ = $(OBJ_DIR)/asphere_vis.o $(GRPHICS_LIB) $(MATH_LIB) $(ALL_LIB) EXECS = $(BIN_DIR)/asphere_vis -all: $(EXECS) +all: paths $(EXECS) + +paths: $(HOBJ_DIR) $(BIN_DIR) + +$(HOBJ_DIR) $(BIN_DIR): + mkdir $@ libraries: cd $(ALL_DIR); make; cd $(MATH_DIR); make; cd $(GRID_DIR); make; \