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/examples/zoo/loader
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/examples/zoo/loader/Makefile.in

    r1944 r3471  
    2424destdir         = $(prefix)/examples/zoo/loader
    2525
     26.PHONY: all install clean distclean
     27
    2628all:
    2729        $(MAKE) -C examples  all
  • trunk/examples/zoo/loader/examples/Makefile.in

    r1944 r3471  
    2323destdir         = $(prefix)/examples/zoo/loader/examples
    2424
     25.PHONY: all install clean distclean
     26
    2527all:
    2628
    27 install:
     29install: all
    2830        $(MKDIR_P) -m 0755 $(destdir)
    2931        for i in $(FILES) ; do \
     
    3335clean:
    3436
    35 distclean:
     37distclean: clean
    3638        $(RM) Makefile *~
Note: See TracChangeset for help on using the changeset viewer.