source: trunk/oar/Makefile @ 24

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