fix compilation for pymol_asphere tool
This commit is contained in:
0
tools/pymol_asphere/README
Executable file → Normal file
0
tools/pymol_asphere/README
Executable file → Normal file
@ -57,8 +57,8 @@ ifeq ($(COMPILER),gnu)
|
|||||||
CPP = g++ # C++ Compiler
|
CPP = g++ # C++ Compiler
|
||||||
CC = gcc # C compiler
|
CC = gcc # C compiler
|
||||||
AR = ar
|
AR = ar
|
||||||
DBUG = -O2 # -g -DDEBUG -DNANCHECK -Wall -pedantic #-ansi
|
DBUG = -O2 -g -Wall #-DDEBUG -DNANCHECK -Wall -pedantic #-ansi
|
||||||
OPT = #-O3
|
OPT = #-O3 -g -Wall
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(COMPILER),mpi)
|
ifeq ($(COMPILER),mpi)
|
||||||
@ -111,7 +111,12 @@ OBJ_DIR = $(HOBJ_DIR)
|
|||||||
THIS_OBJ = $(OBJ_DIR)/asphere_vis.o $(GRPHICS_LIB) $(MATH_LIB) $(ALL_LIB)
|
THIS_OBJ = $(OBJ_DIR)/asphere_vis.o $(GRPHICS_LIB) $(MATH_LIB) $(ALL_LIB)
|
||||||
EXECS = $(BIN_DIR)/asphere_vis
|
EXECS = $(BIN_DIR)/asphere_vis
|
||||||
|
|
||||||
all: $(EXECS)
|
all: paths $(EXECS)
|
||||||
|
|
||||||
|
paths: $(HOBJ_DIR) $(BIN_DIR)
|
||||||
|
|
||||||
|
$(HOBJ_DIR) $(BIN_DIR):
|
||||||
|
mkdir $@
|
||||||
|
|
||||||
libraries:
|
libraries:
|
||||||
cd $(ALL_DIR); make; cd $(MATH_DIR); make; cd $(GRID_DIR); make; \
|
cd $(ALL_DIR); make; cd $(MATH_DIR); make; cd $(GRID_DIR); make; \
|
||||||
|
|||||||
Reference in New Issue
Block a user