From 71e56ccae25f29cd65b6600e2ee980fba2d8e7a4 Mon Sep 17 00:00:00 2001 From: sjplimp Date: Thu, 15 May 2008 22:45:22 +0000 Subject: [PATCH] git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@1824 f3b2605a-c512-4ea7-a41b-209d697bcdaa --- src/MAKE/Makefile.openmpi | 2 +- src/Makefile | 2 +- src/Makefile.lib | 2 +- src/Makefile.list | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/MAKE/Makefile.openmpi b/src/MAKE/Makefile.openmpi index 401bca98ad..8d1de976d0 100644 --- a/src/MAKE/Makefile.openmpi +++ b/src/MAKE/Makefile.openmpi @@ -7,7 +7,7 @@ SHELL = /bin/sh CC = mpic++ CCFLAGS = -O2 -funroll-loops -DFFT_FFTW -DLAMMPS_GZIP \ - -fstrict-aliasing -Wall + -fstrict-aliasing -Wall -W -Wno-uninitialized NOALIAS = -fno-strict-aliasing DEPFLAGS = -M LINK = mpic++ diff --git a/src/Makefile b/src/Makefile index 09a89ec922..f026d4adb5 100755 --- a/src/Makefile +++ b/src/Makefile @@ -64,7 +64,7 @@ help: @cp -p $(SRC) $(INC) Obj_$@ @cp MAKE/Makefile.$@ Obj_$@/Makefile @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 # Remove machine-specific object files diff --git a/src/Makefile.lib b/src/Makefile.lib index 6f96456e28..fae8bffa5e 100644 --- a/src/Makefile.lib +++ b/src/Makefile.lib @@ -30,5 +30,5 @@ clean: @cp -p $(SRC) $(INC) Obj_$@ @cp MAKE/Makefile.$@ Obj_$@/Makefile @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 diff --git a/src/Makefile.list b/src/Makefile.list index 1d0352ae91..754c958599 100644 --- a/src/Makefile.list +++ b/src/Makefile.list @@ -30,5 +30,5 @@ clean: @cp -p $(SRC) $(INC) Obj_$@ @cp MAKE/Makefile.$@ Obj_$@/Makefile @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