Permalink
Browse files

cosmetic

  • Loading branch information...
1 parent ad09b08 commit d2484f09a8c61d5acc8f4aa9104eeddd2cb7a89c @nniclausse nniclausse committed Sep 7, 2012
View
@@ -82,7 +82,7 @@ MAN_DIR = $(datadir)/man/man1/
DOC_DIR = $(docdir)
# custom behaviours
-BEHAVIORS = ebin/ts_plugin.beam
+BEHAVIORS = ebin/ts_plugin.beam ebin/gen_ts_transport.beam
BUILDER_LOG = /tmp/builder-tsung.log
@@ -436,6 +436,11 @@ ebin/ts_plugin.beam: src/$(APPLICATION)/ts_plugin.erl $(INC_FILES)
@echo "Compiling $< ... "
@$(CC) $(OPT) -I $(INC) -I $(ERLANG_XMERL_DIR) -pa ebin -o ebin $<
+# to avoid circular dependency
+ebin/gen_ts_transport.beam: src/$(APPLICATION)/gen_ts_transport.erl $(INC_FILES)
+ @echo "Compiling $< ... "
+ @$(CC) $(OPT) -I $(INC) -I $(ERLANG_XMERL_DIR) -pa ebin -o ebin $<
+
ebin/%.beam: src/$(APPLICATION)/%.erl $(INC_FILES) $(BEHAVIORS)
@echo "Compiling $< ... "
@$(CC) $(OPT) -I $(INC) -I $(ERLANG_XMERL_DIR) -pa ebin -o ebin $<
Oops, something went wrong.

0 comments on commit d2484f0

Please sign in to comment.