Permalink
Browse files

cleaned makefile code.

  • Loading branch information...
1 parent 201a3c9 commit fd47843b969d3ec63fd0b78a4728e2d8e1c59fee @ostinelli committed Aug 2, 2011
Showing with 3 additions and 3 deletions.
  1. +1 −1 Makefile
  2. +2 −2 make.bat
View
@@ -7,7 +7,7 @@ ERLC_FLAGS := -W -pa $(EBIN_DIR) -I $(INCLUDE_DIR) -o $(EBIN_DIR)
all:
@mkdir -p $(EBIN_DIR)
- $(ERLC) -D log_debug $(ERLC_FLAGS) $(SRC_DIR)/*.erl
+ $(ERLC) $(ERLC_FLAGS) $(SRC_DIR)/*.erl
@cp $(SRC_DIR)/misultin.app.src $(EBIN_DIR)/misultin.app
clean:
View
@@ -41,11 +41,11 @@ GOTO COMPILE
:EXAMPLES
mkdir ebin
-FOR %%f in (examples\*.erl) DO erlc -W %command% -o ebin "%%f"
+FOR %%f in (examples\*.erl) DO erlc -W %command% -pa ebin -I include -o ebin "%%f"
:COMPILE
mkdir ebin
-FOR %%f in (src\*.erl) DO erlc -W %command% -o ebin "%%f"
+FOR %%f in (src\*.erl) DO erlc -W %command% -pa ebin -I include -o ebin "%%f"
copy src\misultin.app.src ebin\misultin.app /Y
GOTO END

0 comments on commit fd47843

Please sign in to comment.