forked from lijiext/lammps
git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@1824 f3b2605a-c512-4ea7-a41b-209d697bcdaa
This commit is contained in:
parent
dc41c79c3c
commit
71e56ccae2
|
@ -7,7 +7,7 @@ SHELL = /bin/sh
|
||||||
|
|
||||||
CC = mpic++
|
CC = mpic++
|
||||||
CCFLAGS = -O2 -funroll-loops -DFFT_FFTW -DLAMMPS_GZIP \
|
CCFLAGS = -O2 -funroll-loops -DFFT_FFTW -DLAMMPS_GZIP \
|
||||||
-fstrict-aliasing -Wall
|
-fstrict-aliasing -Wall -W -Wno-uninitialized
|
||||||
NOALIAS = -fno-strict-aliasing
|
NOALIAS = -fno-strict-aliasing
|
||||||
DEPFLAGS = -M
|
DEPFLAGS = -M
|
||||||
LINK = mpic++
|
LINK = mpic++
|
||||||
|
|
|
@ -64,7 +64,7 @@ help:
|
||||||
@cp -p $(SRC) $(INC) Obj_$@
|
@cp -p $(SRC) $(INC) Obj_$@
|
||||||
@cp MAKE/Makefile.$@ Obj_$@/Makefile
|
@cp MAKE/Makefile.$@ Obj_$@/Makefile
|
||||||
@cd Obj_$@; \
|
@cd Obj_$@; \
|
||||||
$(MAKE) "OBJ = $(OBJ)" "INC = $(INC)" "EXE = ../$(EXE)" ../$(EXE)
|
$(MAKE) $(MFLAGS) "OBJ = $(OBJ)" "INC = $(INC)" "EXE = ../$(EXE)" ../$(EXE)
|
||||||
@if [ -d Obj_$@ ]; then cd Obj_$@; rm -f $(SRC) $(INC) Makefile*; fi
|
@if [ -d Obj_$@ ]; then cd Obj_$@; rm -f $(SRC) $(INC) Makefile*; fi
|
||||||
|
|
||||||
# Remove machine-specific object files
|
# Remove machine-specific object files
|
||||||
|
|
|
@ -30,5 +30,5 @@ clean:
|
||||||
@cp -p $(SRC) $(INC) Obj_$@
|
@cp -p $(SRC) $(INC) Obj_$@
|
||||||
@cp MAKE/Makefile.$@ Obj_$@/Makefile
|
@cp MAKE/Makefile.$@ Obj_$@/Makefile
|
||||||
@cd Obj_$@; \
|
@cd Obj_$@; \
|
||||||
$(MAKE) "OBJ = $(OBJ)" "INC = $(INC)" "EXE = ../$(EXE)" lib
|
$(MAKE) $(MFLAGS) "OBJ = $(OBJ)" "INC = $(INC)" "EXE = ../$(EXE)" lib
|
||||||
@if [ -d Obj_$@ ]; then cd Obj_$@; rm -f $(SRC) $(INC) Makefile*; fi
|
@if [ -d Obj_$@ ]; then cd Obj_$@; rm -f $(SRC) $(INC) Makefile*; fi
|
||||||
|
|
|
@ -30,5 +30,5 @@ clean:
|
||||||
@cp -p $(SRC) $(INC) Obj_$@
|
@cp -p $(SRC) $(INC) Obj_$@
|
||||||
@cp MAKE/Makefile.$@ Obj_$@/Makefile
|
@cp MAKE/Makefile.$@ Obj_$@/Makefile
|
||||||
@cd Obj_$@; \
|
@cd Obj_$@; \
|
||||||
$(MAKE) "OBJ = $(OBJ)" "INC = $(INC)" "EXE = ../$(EXE)" ../$(EXE)
|
$(MAKE) $(MFLAGS) "OBJ = $(OBJ)" "INC = $(INC)" "EXE = ../$(EXE)" ../$(EXE)
|
||||||
@if [ -d Obj_$@ ]; then cd Obj_$@; rm -f $(SRC) $(INC) Makefile*; fi
|
@if [ -d Obj_$@ ]; then cd Obj_$@; rm -f $(SRC) $(INC) Makefile*; fi
|
||||||
|
|
Loading…
Reference in New Issue