Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 56 lines (49 sloc) 2.415 kb
72a97f4 @ostinelli
authored
1 @echo off
2 REM ==========================================================================================================
3 REM MISULTIN - compile
4 REM
5 REM >-|-|-<°>
6 REM
7 REM Copyright (C) 2009, Roberto Ostinelli <roberto@ostinelli.net>
8 REM All rights reserved.
9 REM
10 REM BSD License
11 REM
12 REM Redistribution and use in source and binary forms, with or without modification, are permitted provided
13 REM that the following conditions are met:
14 REM
15 REM * Redistributions of source code must retain the above copyright notice, this list of conditions and the
16 REM following disclaimer.
17 REM * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and
18 REM the following disclaimer in the documentation and/or other materials provided with the distribution.
19 REM * Neither the name of the authors nor the names of its contributors may be used to endorse or promote
20 REM products derived from this software without specific prior written permission.
21 REM
22 REM THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED
23 REM WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
24 REM PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR
25 REM ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
26 REM TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
27 REM HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
28 REM NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
29 REM POSSIBILITY OF SUCH DAMAGE.
30 REM ==========================================================================================================
31
5496975 @ostinelli added make support for windows
authored
32 :BEGIN
33 IF "%1"=="debug" GOTO SETDEBUG
34 IF "%1"=="example" GOTO EXAMPLES
35 IF "%1"=="clean" GOTO CLEAN
36 GOTO COMPILE
37
38 :SETDEBUG
39 SET command=-D log_debug
40 GOTO COMPILE
41
42 :EXAMPLES
43 mkdir ebin
fd47843 @ostinelli cleaned makefile code.
authored
44 FOR %%f in (examples\*.erl) DO erlc -W %command% -pa ebin -I include -o ebin "%%f"
5496975 @ostinelli added make support for windows
authored
45
46 :COMPILE
47 mkdir ebin
fd47843 @ostinelli cleaned makefile code.
authored
48 FOR %%f in (src\*.erl) DO erlc -W %command% -pa ebin -I include -o ebin "%%f"
7374dac @ostinelli * added support to websocket protocol hixie draft 76 (thanks to sergio ...
authored
49 copy src\misultin.app.src ebin\misultin.app /Y
5496975 @ostinelli added make support for windows
authored
50 GOTO END
51
52 :CLEAN
53 FOR %%f in (ebin\*) DO del "%%f"
54
55 :END
Something went wrong with that request. Please try again.