Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 0c48f58fbb5aef18c178468259251722a1394ee9
Ticket: 427697ffffffffffffffffffffffffffffffffff
Script for Making Dependency Information
User & Date: dkf on 2003-03-27 18:01:40
Changes

  1. icomment:
    Logged In: YES 
    user_id=79902
    
    I don't quite see what the problem is.  The script assumes
    that it is being run in the directory where generated .o
    files will be produced and where the makefile is.  It is
    configured (by default) to search the current directory (and
    its sibling directories compat and generic) for source
    files, but the directories searched may be configured
    through the use of the -directory flag.
    
    For example (the '-directory -' option removes the built-in
    search path) and trying to solve the sort of problem that
    you described:
      tclsh makedep.tcl -directory - \
    -directory $(SRCLOC)/compat \
    -directory $(SRCLOC)/generic \
    -directory $(SRCLOC)/unix
    
    You can also control the name of the makefile that is
    modified with the -makefile option.  The script does not
    currently allow configuring of the file extensions, but it
    shouldn't be hard to add that.
    
    
  2. login: "dkf"
  3. mimetype: "text/plain"
  4. username: "dkf"