/[marvin]/marvin/src/libnn/subdirs.Makefile
ViewVC logotype

Diff of /marvin/src/libnn/subdirs.Makefile

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.2 by srv89, Thu Jul 31 19:46:58 2003 UTC revision 1.3 by srv89, Fri Aug 1 01:41:01 2003 UTC
# Line 40  include ../common.Makefile Line 40  include ../common.Makefile
40  # main target  # main target
41  #############  #############
42    
43  all: $(BYTE) $(OPT)  all_real: $(BYTE) $(OPT)
44    
45    all:
46            @echo " + making $(BYTE) $(OPT) in $(SUBDIR_NAME_DIR) ..."
47            @make all_real
48    
49  # Recompiles everything from scratch  # Recompiles everything from scratch
50  re: clean all  re:
51            @echo " + making re in $(SUBDIR_NAME_DIR) ..."
52            @make clean all
53    
54  # bytecode and native-code compilation  # bytecode and native-code compilation
55  ######################################  ######################################
# Line 58  MLI = $(SUBDIR_NAME_MLI) Line 64  MLI = $(SUBDIR_NAME_MLI)
64  CMI = $(MLI:.mli=.cmi)  CMI = $(MLI:.mli=.cmi)
65  CMO = $(ML:.ml=.cmo)  CMO = $(ML:.ml=.cmo)
66    
67  $(BYTE): lib$(NAME).cma  $(BYTE):
68            @echo " + making $@ in $(SUBDIR_NAME_DIR) ..."
69  $(OPT): $(SUBDIR_NAME_CMX)          @make lib$(NAME).cma
70    
71    $(OPT):
72            @echo " + making $@ in $(SUBDIR_NAME_DIR) ..."
73            @make $(SUBDIR_NAME_CMX)
74    
75  lib$(NAME).cma: $(CMO)  lib$(NAME).cma: $(CMO)
76            @echo " /"
77            @echo " | building $@ (bytecode library) ..."
78            @echo " \\"
79          $(OCAMLC) $^ $(BFLAGS) $(BLFLAGS) -o $@          $(OCAMLC) $^ $(BFLAGS) $(BLFLAGS) -o $@
80    
81  # documentation  # documentation
# Line 119  $(TEXI2HTML): $(TEXI) Line 132  $(TEXI2HTML): $(TEXI)
132          @echo " + making texi2html in $(SUBDIR_NAME_DIR) ..."          @echo " + making texi2html in $(SUBDIR_NAME_DIR) ..."
133          (cp $(TEXI) $(TEXI2HTML_PATH) && \          (cp $(TEXI) $(TEXI2HTML_PATH) && \
134          cd $(TEXI2HTML_PATH) && \          cd $(TEXI2HTML_PATH) && \
135          texi2html -glossary -menu -number $(TEXI_SHORT) && \          texi2html -glossary -menu -split_node \
136            $(TEXI_SHORT) && \
137          $(RM) $(TEXI_SHORT))          $(RM) $(TEXI_SHORT))
138    
139  html-generation: $(ML) $(MLI)  html-generation: $(ML) $(MLI)
# Line 146  $(TEXI2HTML_HERE): $(TEXI2HTML) Line 160  $(TEXI2HTML_HERE): $(TEXI2HTML)
160    
161  # 'make doc' generates as much documentation as possibe, depending on latex,  # 'make doc' generates as much documentation as possibe, depending on latex,
162  # dvips, dvipdf, texi2html and ocamldoc's presence.  # dvips, dvipdf, texi2html and ocamldoc's presence.
163  doc: $(CMO) $(OCAMLDOC) $(LATEX_HERE) $(DVIPS_HERE) $(DVIPDF_HERE) $(TEXI2HTML_HERE)  doc:
164            @echo " + making doc in $(SUBDIR_NAME_DIR) ..."
165            @make $(CMO) $(OCAMLDOC) $(LATEX_HERE) $(DVIPS_HERE) $(DVIPDF_HERE) \
166            $(TEXI2HTML_HERE)
167    
168    
169  # clean  # clean
# Line 169  doc-clean: Line 186  doc-clean:
186          $(TEXI2HTML_PATH)/*.html          $(TEXI2HTML_PATH)/*.html
187    
188  dist-clean distclean:: clean  dist-clean distclean:: clean
189            @echo " + making dist-clean in $(SUBDIR_NAME_DIR) ..."

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26