Browse Source

Fix include error for compile_erl

goofansu 12 years ago
parent
commit
2b9636423b
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