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/examples/zoo/mesh/Makefile.in

    r3416 r3471  
    2525destdir         = $(prefix)/examples/zoo/mesh
    2626
     27.PHONY: all install clean distclean
     28
    2729all:
    2830
    29 install:
     31install: all
    3032        $(MKDIR_P) -m 0755 $(destdir)
    3133        for i in $(FILES) ; do \
     
    3537clean:
    3638
    37 distclean:
     39distclean: clean
    3840        $(RM) Makefile *~
Note: See TracChangeset for help on using the changeset viewer.