Skip to Main Content

Java Programming

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

creation of Makefile

807591Jan 31 2005 — edited Apr 3 2008
Hi,

I want to create a Makefile which would run some of the commands like javac filename and java file name etc.. I have the java files in a folder but how do I create a Makefile which can compile the code and also run the code. I tried creating a text file and named it Makefile.mak etc.. but in vain. I woudl appreciate if somebody could provide their thoughts about it.

PK
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 1 2008
Added on Jan 31 2005
3 comments
108 views