~ubuntu-branches/debian/sid/lammps/sid

« back to all changes in this revision

Viewing changes to lib/atc/Makefile.mingw64-cross-mpi

  • Committer: Package Import Robot
  • Author(s): Anton Gladky
  • Date: 2015-04-29 23:44:49 UTC
  • mfrom: (5.1.3 experimental)
  • Revision ID: package-import@ubuntu.com-20150429234449-mbhy9utku6hp6oq8
Tags: 0~20150313.gitfa668e1-1
Upload into unstable.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
# library build -*- makefile -*-
2
2
SHELL = /bin/sh
3
3
 
 
4
# which file will be copied to Makefile.lammps
 
5
EXTRAMAKE = Makefile.lammps.linalg
 
6
 
4
7
# ------ FILES ------
 
8
 
5
9
SRC = $(wildcard *.cpp)
6
10
INC = $(wildcard *.h)
7
11
 
8
12
# ------ DEFINITIONS ------
9
 
# which file will be copied to Makefile.lammps
10
 
 
11
 
EXTRAMAKE = Makefile.lammps.linalg
12
13
 
13
14
DIR = Obj_mingw64-mpi/
14
15
LIB = $(DIR)libatc.a
21
22
 
22
23
CC =              x86_64-w64-mingw32-g++
23
24
CCFLAGS =       -I../../tools/mingw-cross/mpich2-win64/include/         \
24
 
                -I../../src -I../../src/STUBS -DMPICH_IGNORE_CXX_SEEK   \
 
25
                -I../../src -DMPICH_IGNORE_CXX_SEEK     \
25
26
                -O3 -march=core2 -mtune=core2 -mpc64 -msse2    \
26
27
                -ffast-math -funroll-loops -fstrict-aliasing            \
27
28
                -DLAMMPS_SMALLBIG -Wno-uninitialized
28
29
ARCHIVE =       x86_64-w64-mingw32-ar
29
30
ARCHFLAG =      -rcs
30
31
DEPFLAGS =      -M
31
 
LINK =          x86_64-w64-mingw32-g++
 
32
LINK =          $(CC)
32
33
LINKFLAGS =     -O
33
34
USRLIB =
34
35
SYSLIB =
43
44
Makefile.lammps:
44
45
        @cp $(EXTRAMAKE) Makefile.lammps
45
46
 
46
 
$(LIB):         $(OBJ)
 
47
$(LIB): $(OBJ)
47
48
        $(ARCHIVE) $(ARFLAGS) $(LIB) $(OBJ)
48
49
        @cp $(EXTRAMAKE) Makefile.lammps
49
50