Skip to content
Snippets Groups Projects
Commit f1fec72c authored by sjplimp's avatar sjplimp
Browse files

git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@10164 f3b2605a-c512-4ea7-a41b-209d697bcdaa
parent c1691cc7
No related branches found
No related tags found
No related merge requests found
# Makefile for MPI stubs - edit this for your platform
SHELL = /bin/sh
.IGNORE:
# Files
SRC = mpi.c
INC = mpi.h
# Definitions
EXE = libmpi_mingw32.a
OBJ = $(SRC:%.c=%_mingw32.o)
# System-specific settings
CC = i686-w64-mingw32-gcc
CCFLAGS = -O2 -Wall -march=i686 -mtune=generic -mfpmath=387 -mpc64
ARCHIVE = i686-w64-mingw32-ar
ARCHFLAG = rs
# Target
$(EXE): $(OBJ)
$(ARCHIVE) $(ARCHFLAG) $(EXE) $(OBJ)
# Clean
clean:
rm $(EXE) $(OBJ)
# Compilation rules
$(OBJ): $(SRC) $(INC)
$(CC) $(CCFLAGS) -c $< -o $@
# Makefile for MPI stubs - edit this for your platform
SHELL = /bin/sh
.IGNORE:
# Files
SRC = mpi.c
INC = mpi.h
# Definitions
EXE = libmpi_mingw64.a
OBJ = $(SRC:%.c=%_mingw64.o)
# System-specific settings
CC = x86_64-w64-mingw32-gcc
CCFLAGS = -O2 -Wall -march=core2 -mtune=core2 -msse2 -mpc64
ARCHIVE = x86_64-w64-mingw32-ar
ARCHFLAG = rs
# Target
$(EXE): $(OBJ)
$(ARCHIVE) $(ARCHFLAG) $(EXE) $(OBJ)
# Clean
clean:
rm $(EXE) $(OBJ)
# Compilation rules
$(OBJ): $(SRC) $(INC)
$(CC) $(CCFLAGS) -c $< -o $@
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment