Changeset 3471 for trunk/tester


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

Legend:

Unmodified
Added
Removed
  • trunk/tester/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/tester/scripts/Makefile.in

    r2687 r3471  
    4040                --outfile tclIndex
    4141
    42 install: install_scripts install_images
     42install: all install_scripts install_images
    4343
    4444install_scripts:
Note: See TracChangeset for help on using the changeset viewer.