From a57da061a5d9f2b6fd3fa5a82e59561c9b9c13de Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Tue, 21 Jan 2014 10:57:16 +0100 Subject: compile with -Xlint:all,-cast MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 443ad69..914d9a4 100644 --- a/Makefile +++ b/Makefile @@ -11,7 +11,7 @@ OBJ = $(shell find src | grep '\.java$$' | sed -e 's:^src:obj:' | sed -e 's:java all: $(OBJ) obj/%.class: obj/%.java - $(JAVAC) -s obj -d obj -cp obj "$<" + $(JAVAC) '-Xlint:all,-cast' -s obj -d obj -cp obj "$<" obj/%.java: src/%.java $(foreach F, $(PP), src/$(F)) mkdir -p "$(shell dirname "$@")" -- cgit v1.2.3-70-g09d2