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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/examples/showdata/Makefile

    r2529 r3471  
    77FC_SWITCHES     = $(FCFLAGS) $(FCDEBUGFLAGS) $(INCLUDES)
    88
     9.PHONY: all install clean distclean
     10
    911all: showdata
    1012
     
    1214        $(FC) $(FC_SWITCHES) $< -o $@ $(LIBS)
    1315
    14 install: showdata
     16install: all
    1517
    1618clean:
Note: See TracChangeset for help on using the changeset viewer.