Last change
on this file since 29 was
29,
checked in by g7moreau, 13 years ago
|
|
-
Property svn:eol-style set to
native
|
File size:
480 bytes
|
Line | |
---|
1 | |
---|
2 | CC=mpiCC |
---|
3 | CCFLAGS=-O2 |
---|
4 | PODFLAG=-c 'User Contributed OAR Documentation' -r 'LEGI Trokata' |
---|
5 | |
---|
6 | |
---|
7 | .PHONY: all clean distclean |
---|
8 | |
---|
9 | all: mpilauncher mpilauncher.1 oar-envsh.1 |
---|
10 | |
---|
11 | clean: |
---|
12 | rm -f *.o |
---|
13 | |
---|
14 | distclean: clean |
---|
15 | rm -f mpilauncher |
---|
16 | |
---|
17 | |
---|
18 | mpilauncher: mpilauncher.o |
---|
19 | $(CC) $(CCFLAGS) -o $@ $< |
---|
20 | |
---|
21 | %.o: %.cpp |
---|
22 | $(CC) $(CCFLAGS) -c $< |
---|
23 | |
---|
24 | %.1: %.cpp |
---|
25 | sed -re 's#^[/ ]\* ?##; s#^// ?##' $< | pod2man -n $* $(PODFLAG) > $@ |
---|
26 | |
---|
27 | %.1: % |
---|
28 | pod2man -n $* $(PODFLAG) $< > $@ |
---|
29 | |
---|
30 | # astyle --style=banner -s3 mpilauncher.cpp |
---|
Note: See
TracBrowser
for help on using the repository browser.