I have in my makefile currently this implicit rule:
.java.class:
$(JAVAC) -classpath . $<
What I need to achieve is not only to use this rule on .java files but also on .sqlj files.
I need something like this:
(.java.sqlj).class:
$(SQLJC) -classpath . $<
The reason for that is I have a circular dependency between one of my java files and one of my sqlj files that only gets resolved when compiling both the .java files and the .sqlj files in one step. As far as I tried it the sqlj translator can also compile .java files so this should be no problem.