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; \