Commits

didier deshommes  committed 3fa15f7

build tweaks

  • Participants
  • Parent commits 3c5a38f

Comments (0)

Files changed (2)

 CFLAGS := -Wall -shared -static -Wl,-rpath,`pwd`
 JAVA_FLAGS := -Xlint
 
+all: jar
+
 java: jni *.java libgmpjava jni
 	javac $(JAVA_FLAGS) *.java	
 
 	gcc  $(Includes) -L /usr/lib/  jcl.c -o libjcl.so $(CFLAGS)
 
 jar: java
-	jar cvf GMP.jar *.class
+	jar cvf GMP.jar GMP.class Pointer*.class 
 
 clean: 
 	rm -rf *.class *.so *~ *.jar
 --------
 
 You'll need a recent JVM, the GMP library and its sources to build
-this module. To build it, simply type `make jar`. When the sources finish
-building, you should have a jar file called `GMPInteger.jar` that you
+this module. To build it, simply type `make`. When the sources finish
+building, you should have a jar file called `GMP.jar` that you
 can use in your Java application now. 
 
 Using