This is version 0.7.0 of the Code Medic source distribution.

The main Code Medic site is:

  http://www.cco.caltech.edu/~glenn/medic/

This version requires version 1.1.20 of JX.

JX can be found at:

  http://www.cco.caltech.edu/~jafl/jx/

Please read the LICENSE file for the conditions under which the source is
provided.  To help others who have the same system as you, please consider
building the binary and making it available via ftp on the main Code Medic
ftp site.  (Mirror sites are always welcome, too.)

In order for you to be able to compile this source, you must already have
JX installed. Untar the search and tree libs, and the Code Medic source in
the same directory that JX was untarred.

*** Compiling ***

You have two choices in compiling Code Medic.

** Method 1:

cd into JX-1.1.20 and run:

> make <target-name>

where <target-name> is the system you are compiling on. To view the targets
available, just type:

> make

Code Medic will be installed either in ~/bin or JX_INSTALL_ROOT if it is
defined (the binary is named "medic"). This method will build JX if it
isn't already built.

** Method 2:

cd into JX-1.1.20/libjtree and run:

> makemake

> make

cd into JX-1.1.20/libjsearch and run:

> makemake

> make

cd into JX-1.1.20/programs/code_medic and run:

> makemake

> make

This will build the medic binary in the JX-1.1.20/programs/code_medic
directory. This method assumes that you already have JX built.

