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

Last change on this file since 1511 was 1511, checked in by yushan, 6 years ago

save dev

File size: 529 bytes
Line 
1appname := EP_test
2
3CXX := mpiicc -D_intelmpi -D_noMemory_check -D_nocheck_sum -qopenmp
4CXXFLAGS := -std=c++11  -g
5
6srcfiles := $(shell find . -name "*.cpp")
7headfiles := $(shell find . -name "*.hpp")
8objects  := $(patsubst %.cpp, %.o, $(srcfiles))
9
10all: $(appname)
11
12$(appname): $(objects) $(headfiles)
13        $(CXX) $(CXXFLAGS) $(LDFLAGS) -o $(appname) $(objects) $(LDLIBS)
14
15depend: .depend
16
17depend: $(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
27
Note: See TracBrowser for help on using the repository browser.