Changeset 3471 for trunk/oldtest


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

Legend:

Unmodified
Added
Removed
  • trunk/oldtest/Makefile.in

    r1018 r3471  
    2929
    3030
    31 .PHONY: src jobs
    32        
     31.PHONY: all clean distclean src jobs
     32
    3333all: src jobs
    3434
     
    3939
    4040clean:
    41        
     41
    4242distclean: clean
    4343        $(RM) Makefile
  • trunk/oldtest/src/Makefile.in

    r1022 r3471  
    8181FC_FLAGS        = $(CFLAGS) $(INCLUDES)
    8282
    83 .PHONY: src jobs
     83.PHONY: all clean distclean src jobs c_tests fortran_tests matlab_tests objs_tests octave_tests
    8484
    8585MATLAB_TESTS    = RpMatlab_test
Note: See TracChangeset for help on using the changeset viewer.