source: trunk/oar/Makefile @ 23

Last change on this file since 23 was 23, checked in by g7moreau, 13 years ago
  • Extract POD doc from C++ and create man page
  • Property svn:eol-style set to native
File size: 346 bytes
RevLine 
[17]1
2CC=mpiCC
3CCFLAGS=-O2
4
5.PHONY: all clean distclean
6
[23]7all: mpilauncher mpilauncher.1
[17]8
9clean:
10        rm -f *.o
11
12distclean: clean
13        rm -f mpilauncher
14
15
16mpilauncher: mpilauncher.o
17        $(CC) $(CCFLAGS) -o $@ $<
18
19%.o: %.cpp
20        $(CC) $(CCFLAGS) -c $<
[23]21
22%.1: %.cpp
23        grep '^.\*' $< | sed -e 's/^..//; s/^.//' | pod2man > $@
24
25# astyle --style=banner -s3 mpilauncher.cpp
Note: See TracBrowser for help on using the repository browser.