aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index a38d5e4..0f54e92 100644
--- a/Makefile
+++ b/Makefile
@@ -122,11 +122,11 @@ jar: bin/jlibgamma.jar
.PHONY: class
class: $(foreach O,$(JAVA_OBJ),obj/libgamma/$(O).class)
-.PHONY: headers
-headers: $(foreach H,$(JAVA_H),obj/libgamma_$(H).h)
+.PHONY: header
+header: $(foreach H,$(JAVA_H),obj/libgamma_$(H).h)
-bin/jlibgamma.jar: class
+bin/jlibgamma.jar: $(foreach O,$(JAVA_OBJ),obj/libgamma/$(O).class)
@mkdir -p bin
cd obj; $(JAR) cf jlibgamma.jar $(foreach O,$(JAVA_OBJ),libgamma/$(O).class)
mv obj/jlibgamma.jar $@