fix compilation for pymol_asphere tool

This commit is contained in:
Axel Kohlmeyer
2017-03-20 17:18:24 -04:00
parent e110d6961a
commit 47d6451d03
2 changed files with 8 additions and 3 deletions

0
tools/pymol_asphere/README Executable file → Normal file
View File

View File

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