source: trunk/oar/Makefile @ 29

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