]> git.donarmstrong.com Git - lilypond.git/commitdiff
lilypond-0.0.35
authorfred <fred>
Sun, 24 Mar 2002 19:33:34 +0000 (19:33 +0000)
committerfred <fred>
Sun, 24 Mar 2002 19:33:34 +0000 (19:33 +0000)
Generate.make
Makefile
Variables.make

index 0b1e6c490d20a11ef254fb584bef536cd57a321a..5be1641e1e4dcbd786650a821f11c8b0e0ae1c0a 100644 (file)
@@ -1,20 +1,19 @@
 # Generate.make ?
-# -> Rules.make: containing all compile/flex/bison/... rules (jcn)
 
 parsheadorig=$(CCDIR)/parser.tab.h
 parsheadnew=$(HEADERDIR)/parser.hh
 
 #
-# take some trouble to avoid overwriting the old y.tab.h
-# why? (jcn)
+# take some trouble to avoid overwriting the old y.tab.h,
+# because otherwise all dependants would be remade.
 $(CCDIR)/parser.cc: $(CCDIR)/parser.y
        $(BISON) -d $<
+       mv $(CCDIR)/parser.tab.c $@
        (if diff  $(parsheadorig) $(parsheadnew)>/dev/null; then \
                echo Ignoring $(parsheadorig);  \
        else \
                mv $(parsheadorig) $(parsheadnew); \
        fi )
-       mv $(CCDIR)/parser.tab.c $@
 
 $(parsheadnew): $(CCDIR)/parser.cc
 
index 3e4a16e51101447a28b094db5a7961b8ecdcc291..c990a7246c1356fc06293bb228f6c8deaa094539 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -17,18 +17,18 @@ $(m2m):     $(m2mobs)
 .PHONY: clean docxx
 
 clean:
-       rm -f $(allexe) $(DOCDIR)/* core $(allobs) $(ALLDEPS)
+       rm -f $(allexe) $(DOCDIR)/* core $(allobs) 
        for SUBDIR in $(SUBDIRS); \
        do \
                $(MAKE) SUBDIR=$$SUBDIR -C $$SUBDIR clean;\
        done
 
 distclean: clean
-       rm -f  version.hh $(gencc) .GENERATE *~ $(ALLDEPS)
+       rm -f  version.hh $(gencc) .GENERATE *~ $(ALLDEPS) 
 
 all: $(exe) $(m2m) doc
 
-# value of $(OSTYPE) on windhoos; "make $OSTYPE" if u use bash :-)
+# value of $(OSTYPE) on windhoos; "make $OSTYPE" if you use bash :-)
 win32: 
        $(MAKE) -C . CXX=g++ 
 
@@ -39,13 +39,13 @@ doc:
 docxx: $(progdocs)     
        doc++ -kp -d $(DOCDIR) $^
 
+
+include $(DEPDIR)/*.dep
+
 $(OBJECTDIR)/%.o: $(CCDIR)/%.cc
        $(DODEP)\
        $(CXX) -c $(CXXFLAGS) $(OUTPUT_OPTION) 
 
-
-include $(DEPDIR)/*.dep
-
 $(OBJECTDIR)/version.o: $(obs) $(HEADERDIR)/version.hh
 
 include Generate.make
index cc697d7c3ccd2dce4c3f414573a0c78da7546bdb..ea71398c058979c79ad34f01f0707c1a6577748d 100644 (file)
@@ -3,7 +3,7 @@
 # version info
 MAJVER=0
 MINVER=0
-PATCHLEVEL=34
+PATCHLEVEL=35
 
 
 
@@ -124,4 +124,4 @@ STRIPDEBUG=true #replace to do stripping of certain objects
 LINKER=$(CXX)
 include Site.make
 
-include Site.make
+