Changeset 3471 for trunk/lang/ruby


Ignore:
Timestamp:
Mar 8, 2013 1:07:32 PM (9 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/lang/ruby/Makefile.in

    r3277 r3471  
    6565        $(SHLIB_LD) $(SHLIB_LDFLAGS) -o $@ $(OBJS) \
    6666                $(LIB_SEARCH_DIRS) $(LIBS)
     67
     68.cc.o:
     69        $(CXX) $(CXX_SWITCHES) -c $?
     70
    6771install: $(lib)
    6872        $(MKDIR_P) -m 0755 $(destdir)
     
    7882        $(RUBY) build.rb
    7983
    80 .cc.o:
    81         $(CXX) $(CXX_SWITCHES) -c $?
    82 
    8384old: Makefile.ruby
    8485        $(MAKE) -f Makefile.ruby all
Note: See TracChangeset for help on using the changeset viewer.