aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
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 "$@")"