mirror of https://github.com/lammps/lammps.git
Added Makefile for Aidan's Apple laptop
git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@1078 f3b2605a-c512-4ea7-a41b-209d697bcdaa
This commit is contained in:
parent
a087f16939
commit
d87689d8b8
|
@ -0,0 +1,33 @@
|
|||
# mac_mpi = Apple PowerBook G4 laptop, Finked LAM/MPI, Finked FFTW 2.1.5
|
||||
|
||||
SHELL = /bin/sh
|
||||
|
||||
# System-specific settings
|
||||
|
||||
FFTW = /sw
|
||||
|
||||
CC = mpic++
|
||||
CCFLAGS = -O -MMD -DFFT_FFTW -I${FFTW}/include -DOMPI_SKIP_MPICXX
|
||||
LINK = mpic++
|
||||
LINKFLAGS = -O -L${FFTW}/lib
|
||||
|
||||
USRLIB = -lfftw
|
||||
SYSLIB =
|
||||
SIZE = size
|
||||
|
||||
# Link rule
|
||||
|
||||
$(EXE): $(OBJ)
|
||||
$(LINK) $(LINKFLAGS) $(OBJ) $(USRLIB) $(SYSLIB) -o $(EXE)
|
||||
$(SIZE) $(EXE)
|
||||
|
||||
# Compilation rules
|
||||
|
||||
|
||||
%.o:%.cpp
|
||||
$(CC) $(CCFLAGS) -c $<
|
||||
|
||||
# Individual dependencies
|
||||
|
||||
DEPENDS = $(OBJ:.o=.d)
|
||||
-include $(DEPENDS)
|
Loading…
Reference in New Issue