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
|
Rev | Line | |
---|
[17] | 1 | |
---|
| 2 | CC=mpiCC |
---|
| 3 | CCFLAGS=-O2 |
---|
| 4 | |
---|
| 5 | .PHONY: all clean distclean |
---|
| 6 | |
---|
[23] | 7 | all: mpilauncher mpilauncher.1 |
---|
[17] | 8 | |
---|
| 9 | clean: |
---|
| 10 | rm -f *.o |
---|
| 11 | |
---|
| 12 | distclean: clean |
---|
| 13 | rm -f mpilauncher |
---|
| 14 | |
---|
| 15 | |
---|
| 16 | mpilauncher: 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.