I am trying to create a make file for a java project.
It has a directory structure look like this:
I am new to makefile, but tried to create one according to some tutorials on google,
but it doesn't work.
Can anyone help me with this?
Thanks for your time!
JFLAGS = -g JC = javac .SUFFIXES: .java .class .java.class: $(JC) $(JFLAGS) $*.java CLASSES=\ ./src/package1/*.java \ ./src/package2/*.java \ ./src/package3/*.java \ ./src/package4/*.java default: classes classes: $(CLASSES:.java=.class) clean: $(RM) *.class
Edited by darangho: n/a