Ignore:
Timestamp:
Mar 8, 2013 1:07:32 PM (11 years ago)
Author:
ldelgass
Message:

Makefile fixes: make 'install' target always depend on 'all' target. This
ensures that an up to date build exists before installing, and also permits
the use of "make install" in place of "make all install" or "make all; make install". It doesn't affect the existing build scripts. Likewise, make 'distclean'
always depend on 'clean'. Remove empty contour objects example, as there is no
corresponding object class. Also declare all the standard targets 'all, install,
etc' in the .PHONY section for performance.

Location:
trunk/examples/lang/tcl/loadercopy
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/examples/lang/tcl/loadercopy/Makefile.in

    r1944 r3471  
    2121destdir         = $(prefix)/examples/lang/tcl/loadercopy
    2222
     23.PHONY: all install clean distclean
     24
    2325all:
    2426        $(MAKE) -C examples  all
  • trunk/examples/lang/tcl/loadercopy/docs/Makefile.in

    r1944 r3471  
    2222destdir     = $(prefix)/examples/lang/tcl/loadercopy/docs
    2323
     24.PHONY: all install clean distclean
     25
    2426all:
    2527
    26 install:
     28install: all
    2729        $(MKDIR_P) -m 0755 $(destdir)
    2830        for i in $(FILES) ; do \
     
    3234clean:
    3335
    34 distclean:
     36distclean: clean
    3537        $(RM) Makefile *~
  • trunk/examples/lang/tcl/loadercopy/examples/Makefile.in

    r1944 r3471  
    2121destdir     = $(prefix)/examples/lang/tcl/loadercopy/examples
    2222
     23.PHONY: all install clean distclean
     24
    2325all:
    2426
    25 install:
     27install: all
    2628        $(MKDIR_P) -m 0755 $(destdir)
    2729        for i in $(FILES) ; do \
     
    3133clean:
    3234
    33 distclean:
     35distclean: clean
    3436        $(RM) Makefile *~
Note: See TracChangeset for help on using the changeset viewer.