Permalink
Browse files

Run must depend on compile

  • Loading branch information...
1 parent fc55d85 commit d8db1a55f9a03e79e6d813384467ad8c0a548f1d @hdima hdima committed Oct 16, 2010
Showing with 4 additions and 1 deletion.
  1. +4 −1 Makefile
View
@@ -3,14 +3,17 @@ ERLC=erlc
PARSER=src/erlydtl/erlydtl_parser
+
+all: compile
+
compile: $(PARSER).erl
-mkdir -p ebintest
$(ERL) -make
$(PARSER).erl: $(PARSER).yrl
$(ERLC) -o src/erlydtl src/erlydtl/erlydtl_parser.yrl
-run:
+run: compile
$(ERL) -pa ebin

0 comments on commit d8db1a5

Please sign in to comment.