Changeset 3471 for trunk/gui/apps


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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gui/apps/Makefile.in

    r2790 r3471  
    4747                $(srcdir)/rerun.cmd
    4848
     49.PHONY: all install clean distclean
     50
    4951all:
    5052
    51 install:
     53install: all
    5254        $(MKDIR_P) -m 0755 $(bindir)
    5355        @for i in $(SCRIPTS); do \
     
    5961
    6062distclean: clean
    61         $(RM) encodedata rappture.env rappture rappture.use rerun simsim xmldiff
     63        $(RM) about copy_rappture_examples encodedata rappture.env rappture-csh.env rappture rappture.use rerun simsim xmldiff
    6264        $(RM) Makefile *~
    6365
Note: See TracChangeset for help on using the changeset viewer.