From a8e65b8883b81723d5ee15be9f0137eff7bc4201 Mon Sep 17 00:00:00 2001 From: Iustin Pop Date: Sat, 16 May 2015 10:20:51 +0200 Subject: [PATCH] Add support for multiple gcj versions --- .gitignore | 2 +- Makefile | 7 ++++--- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/.gitignore b/.gitignore index d96146c..422133b 100644 --- a/.gitignore +++ b/.gitignore @@ -21,4 +21,4 @@ /haskell/null-threaded /ocaml/null-byte /ocaml/null-opt -/java/null-gcj +/java/null-gcj-* diff --git a/Makefile b/Makefile index 2c261bb..022c803 100644 --- a/Makefile +++ b/Makefile @@ -5,7 +5,8 @@ PROGS = \ c/c++-static-null c/c++-dynamic-null \ haskell/null-single haskell/null-threaded \ ocaml/null-byte ocaml/null-opt \ - java/null-gcj + java/null-gcj-4.6 java/null-gcj-4.8 \ + java/null-gcj-4.9 java/null-gcj-5 SCRIPTS = \ dash/null.dash bash/null.bash \ @@ -84,8 +85,8 @@ ocaml/null-opt: ocaml/null.ml ocamlopt -o $@ $< strip $@ -java/null-gcj: java/Null.java - gcj-4.6 --main=Null -o $@ $< +java/null-gcj-%: java/Null.java + gcj-$* --main=Null -o $@ $< strip $@ java/Null.class: java/Null.java Makefile -- 2.39.5