| 1 | SHELL=/bin/sh |
| 2 | |
| 3 | include $(HOME_LORENE)/local_settings |
| 4 | |
| 5 | BIN_TOOLS = $(HOME_LORENE)/bin |
| 6 | |
| 7 | INCEXP = $(HOME_LORENE)/Export/C++/Include |
| 8 | |
| 9 | install: $(BIN_TOOLS) $(BIN_TOOLS)/reorg_comments html documentation.tex |
| 10 | |
| 11 | html: Source/documentation.C $(INCEXP)/bin_bh.h |
| 12 | $(BIN_TOOLS)/reorg_comments $? |
| 13 | mv $(?:=_r) . |
| 14 | rm -fr $@ |
| 15 | doc++ -p -w -W -d $@ documentation.C_r |
| 16 | |
| 17 | documentation.tex: Source/documentation.C $(INCEXP)/bin_bh.h |
| 18 | $(BIN_TOOLS)/reorg_comments $? |
| 19 | mv $(?:=_r) . |
| 20 | doc++ -p -w -W -t -o $@ documentation.C_r |
| 21 | |
| 22 | |
| 23 | $(BIN_TOOLS): |
| 24 | mkdir $@ |
| 25 | |
| 26 | $(BIN_TOOLS)/reorg_comments: |
| 27 | $(CXX) $(CXXFLAGS) -o $@ $(HOME_LORENE)/Inst_tools/reorg_comments.C |
| 28 | |
| 29 | uninstall: |
| 30 | rm -f *.h_r |
| 31 | rm -f *.C_r |
| 32 | rm -f *.tex |
| 33 | rm -fr html |
| 34 |