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

Last change on this file since 1382 was 1382, checked in by yushan, 7 years ago

dev EP_RMA

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