Changeset 3471 for trunk/builder


Ignore:
Timestamp:
Mar 8, 2013, 1:07:32 PM (12 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/builder
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/builder/Makefile.in

    r2081 r3471  
    2929destdir         = $(libdir)/$(name)
    3030
     31.PHONY: all install install-pkg install-scripts clean distclean
     32
    3133all:
    3234        $(MAKE) -C scripts all
     
    4648
    4749distclean: clean
    48         $(RM) Makefile *~
     50        $(RM) Makefile pkgIndex.tcl *~
  • trunk/builder/scripts/Makefile.in

    r2779 r3471  
    4545destdir         = $(libdir)/$(name)/scripts
    4646
     47.PHONY: all install install_scripts install_templates install_images clean distclean
     48
    4749all: tclIndex
    4850
     
    5153                --outfile tclIndex
    5254
    53 install: install_scripts install_templates install_images
     55install: all install_scripts install_templates install_images
    5456
    5557install_scripts:
Note: See TracChangeset for help on using the changeset viewer.