Compiling tcl sources with ActiveState tclcompiler using Makefile

Compiling tcl sources with ActiveState tclcompiler using GNU make.

Alexander Schöpe


 OBJS = tbc/source1.tbc tbc/source2.tbc

 vpath tbc/%.tbc ../

 tbc/%.tbc : %.tcl
         tclcompiler -nologo -force -out tbc/ $<

 all:: $(OBJS)

 clean::
         rm -f tbc/*.tbc

 #
 #
 # DO NOT DELETE THIS LINE -- make depend depends on it.