Initial Commit
[packages] / xemacs-packages / jde / lisp / makefile.sample
1 # $Revision: 1.1 $
2 # The following is a sample makefile 
3 # for use with the JDE->Build command.
4 #
5 # Makefile for JMath project.
6 #
7 JDK = d:/jdk1.2/lib/classes.zip
8 JMATH = d:/jmath/src
9 CLASSPATH = $(JMATH);$(JDK)
10 COMPILER = javac
11 VM = java
12 COPTIONS = -g -deprecation
13 ROPTIONS = 
14
15 CLASSES = Test.class \
16           JMathError.class \
17           JMathException.class \
18           LinearSystem.class
19
20 .SUFFIXES: .java .class
21
22 all : $(CLASSES)
23
24 # Rebuild (if necessary) and run the JMath test suite.
25 run: $(CLASSES)
26         $(VM) -classpath "$(CLASSPATH)" jmath.Test
27
28 # Remove all class files from the project directory.
29 clean:
30         rm *.class
31
32 # Implicit rule for making Java class files from Java
33 # source files.
34 .java.class:
35         $(COMPILER) $(COPTIONS) -classpath "$(CLASSPATH)"  $?