i have written a java code for my assigment but i need to supply a makefile for the compilation process. I do not know to do a makefile for it. can someone help me. i only have one class file, the square.class file. below is the code i written
square.class: square.java
javac square.java
i have save the file as a batch file but the file cannot be display when i click on it.
need help urgently.
Started by notpro, Aug 31 2008 10:40 PM
2 replies to this topic
#1
Posted 31 August 2008 - 10:40 PM
|
|
|
#2
Posted 15 September 2008 - 05:56 AM
sorry friend i am in learning stage only this forum helps the best..i cant help u
used bmw football betting
#3
Posted 15 September 2008 - 06:50 AM
A java make file looks like this according to my java programming book:
Hopefully this will work for you.
JAVAC = javac
JFLAGS =
SUBDIRS = subdir1 subdir2
all:
@@for file in $(SUBDIRS); do
$(JAVAC) $(JFLAGS) $(file)/*.java
done
Hopefully this will work for you.


Sign In
Create Account

Back to top









