source: XIOS/dev/branch_openmp/extern/ep_dev/makefile @ 1503

Last change on this file since 1503 was 1503, checked in by yushan, 3 years ago

rank_map is passed from vector to map, in order to have more flexibility in comm_split

File size: 573 bytes
Line 
1appname := EP_test
2
3CXX := mpiicc -D_intelmpi -D_noMemory_check -D_nocheck_sum -openmp
4CXXFLAGS := -std=c++11  -g
5#CXXFLAGS := -std=c++11  -g
6
7srcfiles := $(shell find . -name "*.cpp")
8headfiles := $(shell find . -name "*.hpp")
9objects  := $(patsubst %.cpp, %.o, $(srcfiles))
10
11all: $(appname)
12
13$(appname): $(objects) $(headfiles)
14        $(CXX) $(CXXFLAGS) $(LDFLAGS) -o $(appname) $(objects) $(LDLIBS)
15
16depend: .depend
17
18.depend: $(srcfiles) 
19        rm -f ./.depend
20        $(CXX) $(CXXFLAGS) -MM $^>>./.depend;
21
22clean:
23        rm -f $(objects)
24
25dist-clean: clean
26        rm -f *~ .depend
27
28include .depend
29
Note: See TracBrowser for help on using the repository browser.