On Thu, 9 Sep 1999, David Waite wrote:

> Is there any built-in way to invoke javah for some class files? (or an
> example Makefile will work, I suppose :))
> 
> -David Waite
> 
I use makefiles ...


JAVAC       = jikes
JAVAC_FLAGS =  +E

PACKAGE     = au.edu.uwa.mech.devices.camera
HDESTINATION = $(CPPSRC)/telerobot32/ImageServer/


%.h : %.class
        javah -o $@ $(?:%.class=$(PACKAGE).%) 
        cp $@ $(HDESTINATION)


%.class: %.java
        $(JAVAC) $(JAVAC_FLAGS) $<


includes : NTCamera.h NTCameraManager.h

barney

Barney Dalton                                       
[EMAIL PROTECTED]
Twist my arm http://telerobot.mech.uwa.edu.au       

Reply via email to