
inc2h is a simple utility which makes processsor-specific include files (.h)
for cpik compiler from .inc files provided by microchip.

Author: Alain Gibaud (alain.gibaud@free.fr)

See also: pikdev and cpik home page (http://pikdev.free.fr)

Compilation:
----------- 
> g++ -o inc2h inc2h.cpp


Installation:
------------
su root
<type root password>
cp inc2h /usr/bin
exit


Usage:
-----

inc2h can (1) search for .inc files, (2) convert a single .inc file or (3) convert all .inc files 
located in a specified directory.


1) inc2h -locate

 inc2h simply search for .inc files in your system, and displays any matching
 directory found. This allows you to know where gpasm or mpasm .inc files are
 located.


2) inc2h xxxx.inc

 make xxxx.h from xxxx.inc
 (the file is created in the current directory, so you have to cd to this dir
 before issuing the command)

3) inc2h -all directory

 every .inc file found in the specified directory is precessed and the corresponding
.h file is created *in the same directory*.

Enjoy
Alain

