MAKE-support
Author: Rainer Kowallik


Purpose:  support "make" and error analysis
          1. execute "make 2>err.out"
          2. read err.out into __ERROR__ buffer
          3. if <Return> is typed inside the "__ERROR__" buffer goto
             the corresponding line at the main file
          4. if the error came from another file, tkedit tries to load
             this file and position the cursor there.
             This can fail due to a number of possible pitfalls.


Main purpose: demonstration of how to write TCL-TK macros for "tkedit"

This TCL-macro adds the following Menu points to the "Language" menu:
Call make    Call "make" and read error file (if generated)
Next Error   Brings you to the next error found

Remarks: You must save your program explicitly before "make" can use your new
         version of the program
         This TCL-macro is tested with "cc" on AIX 3.2.5 and IRIX 5.3
         and with "gcc" (The search patterns are general but a little bit
         unspecific)
         If it does not work correctly on your Workstation, please feel free
         to modify the macro to work on your architecture
         
-------------------------------------------------------------------------------
Rainer Kowallik             postdoc at       DESY-IfH Zeuthen (Germany)
Email: kowallik@ifh.de                       Platanenallee 6, D-15738 Zeuthen
