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

This commit is contained in:
sjplimp 2008-06-09 20:46:58 +00:00
parent 79c3c6fe57
commit d4f19a47b5
1 changed files with 34 additions and 0 deletions

34
src/MAKE/Makefile.freebsd Normal file
View File

@ -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)