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

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

debugging for memory leaks

File size: 484 bytes
Line 
1appname := EP_test
2
3CXX := mpiicc -D_intelmpi -qopenmp
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.