git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@1893 f3b2605a-c512-4ea7-a41b-209d697bcdaa

This commit is contained in:
sjplimp 2008-06-09 19:46:17 +00:00
parent a0ecd2e763
commit 79c3c6fe57
1 changed files with 43 additions and 0 deletions

43
src/MAKE/Makefile.encanto Normal file
View File

@ -0,0 +1,43 @@
# encanto = NM cluster with dual quad-core Xeons, mpicxx, native MPI, FFTW
SHELL = /bin/sh
.IGNORE:
# System-specific settings
CC = mpicxx
CCFLAGS = -O -DFFT_FFTW -I/home/jlane/fftw-2.1.5/fftw
DEPFLAGS = -M
LINK = mpicxx
LINKFLAGS = -O -L/home/jlane/fftw-2.1.5/fftw/.libs
USRLIB = -lstdc++ -lfftw
SYSLIB = -lm
SIZE = size
ARCHIVE = ar
ARFLAGS = -rc
# Link rule
$(EXE): $(OBJ)
$(LINK) $(LINKFLAGS) $(OBJ) $(USRLIB) $(SYSLIB) -o $(EXE)
$(SIZE) $(EXE)
# Library target
lib: $(OBJ)
$(ARCHIVE) $(ARFLAGS) $(EXE) $(OBJ)
# Compilation rules
%.o:%.cpp
$(CC) $(CCFLAGS) -c $<
%.d:%.cpp
$(CC) $(CCFLAGS) $(DEPFLAGS) $< > $@
# Individual dependencies
DEPENDS = $(OBJ:.o=.d)
include $(DEPENDS)