ptolemy.copernicus.c
Class MakeFileGenerator

java.lang.Object
  extended byptolemy.copernicus.c.MakeFileGenerator
Direct Known Subclasses:
MakefileGenerator_C6000

public class MakeFileGenerator
extends java.lang.Object

A class that generates the makefile for the given class. The generated file has the name (class).make.

Since:
Ptolemy II 2.0
Version:
$Id: MakeFileGenerator.java,v 1.47 2004/04/16 22:38:09 shuvra Exp $
Author:
Ankush Varma
Accepted Rating:
Red (ankush)
Proposed Rating:
Red (ankush)

Constructor Summary
MakeFileGenerator()
          Dummy constructor
 
Method Summary
static java.lang.String classNameToMakeFileName(java.lang.String className)
          Finds the filename corresponding to this class.
static void generateMakeFile(java.lang.String classPath, java.lang.String className)
          Create the MakeFile.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MakeFileGenerator

public MakeFileGenerator()
Dummy constructor

Method Detail

classNameToMakeFileName

public static java.lang.String classNameToMakeFileName(java.lang.String className)
Finds the filename corresponding to this class.

Parameters:
className - The name of the class.
Returns:
The corresponding filename as it should be written to the makeFile.

generateMakeFile

public static void generateMakeFile(java.lang.String classPath,
                                    java.lang.String className)
Create the MakeFile.

Parameters:
classPath - The classPath.
className - The class for which the Makefile is to be generated. The makefile will have the name className.make.