Results 1 to 1 of 1
Hi folks!
I've been looking around all evening trying to figure out the following:
I have a java class specifying a JNI native method. Through the javah tool, I can ...
- 10-16-2009 #1Just Joined!
- Join Date
- Sep 2008
- Posts
- 7
Makefile: changing prerequisities with pattern rules
Hi folks!
I've been looking around all evening trying to figure out the following:
I have a java class specifying a JNI native method. Through the javah tool, I can produce header files defining the required c function calls.
So I am generating .h files from .java files. However, the .java filenames do not match the generated .h files, and the common
%.h : %.java
does not work. I am wondering how these pattern searches can be modified with substr or something similar. How can I alter the content of "%.java" using content of "%.h"?
I appreciate all feedback,
thank you.
Kris


Reply With Quote