forked from lijiext/lammps
git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@1894 f3b2605a-c512-4ea7-a41b-209d697bcdaa
This commit is contained in:
parent
79c3c6fe57
commit
d4f19a47b5
|
@ -0,0 +1,34 @@
|
|||
# freebsd = FreeBSD box, 7.0-RELEASE, LAM/MPI, FFTW
|
||||
|
||||
SHELL = /bin/sh
|
||||
|
||||
# System-specific settings
|
||||
|
||||
CC = mpic++
|
||||
CCFLAGS = -O3 -DFFT_FFTW
|
||||
DEPFLAGS = -M
|
||||
LINK = mpic++
|
||||
LINKFLAGS = -O3
|
||||
USRLIB = -lfftw -lmpi
|
||||
SYSLIB =
|
||||
SIZE = size
|
||||
|
||||
# Link rule
|
||||
|
||||
$(EXE): $(OBJ)
|
||||
$(LINK) $(LINKFLAGS) $(OBJ) $(USRLIB) $(SYSLIB) -o $(EXE)
|
||||
$(SIZE) $(EXE)
|
||||
|
||||
# Compilation rules
|
||||
|
||||
|
||||
%.o:%.cpp
|
||||
$(CC) $(CCFLAGS) -c $<
|
||||
|
||||
%.d:%.cpp
|
||||
$(CC) $(CCFLAGS) $(DEPFLAGS) $< > $@
|
||||
|
||||
# Individual dependencies
|
||||
|
||||
DEPENDS = $(OBJ:.o=.d)
|
||||
include $(DEPENDS)
|
Loading…
Reference in New Issue