diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..e04bc37 --- /dev/null +++ b/Makefile @@ -0,0 +1,14 @@ +SRCS = regex/RegexTest.java +OBJS = $(addprefix bin/,$(SRCS:.java=.class)) + +$(OBJS): bin/%.class: src/%.java + javac -cp lib/automaton.jar -d bin $< + +.PHONY: clean run classes +clean: + $(RM) $(OBJS) + +classes: $(OBJS) + +run: + @java -cp lib/automaton.jar:bin regex.RegexTest |