Browse Source

Merge branch 'fix-include' of git://github.com/goofansu/erlang.mk

Loïc Hoguin 12 years ago
parent
commit
91a4ff4a58
1 changed files with 1 additions and 1 deletions
  1. 1 1
      erlang.mk

+ 1 - 1
erlang.mk

@@ -60,7 +60,7 @@ app: ebin/$(PROJECT).app
 
 
 define compile_erl
 define compile_erl
 	$(erlc_verbose) ERL_LIBS=deps erlc -v $(ERLC_OPTS) -o ebin/ -pa ebin/ \
 	$(erlc_verbose) ERL_LIBS=deps erlc -v $(ERLC_OPTS) -o ebin/ -pa ebin/ \
-		$(COMPILE_FIRST_PATHS) $(1)
+		-I include/ $(COMPILE_FIRST_PATHS) $(1)
 endef
 endef
 
 
 define compile_dtl
 define compile_dtl