File: make_win32_dmc.bat

package info (click to toggle)
bam 0.2.0-4
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 988 kB
  • ctags: 2,368
  • sloc: ansic: 15,322; python: 338; makefile: 42; cpp: 23; sh: 7
file content (16 lines) | stat: -rw-r--r-- 480 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
@REM --- Batch file that builds bam using Digital Mars C Compiler

@dmc -L/NOL -A src\tools\txt2c.c -o src\tools\txt2c.exe
@src\tools\txt2c.exe src\base.bam src\driver_gcc.bam src\driver_cl.bam > src\internal_base.h

@REM ------ Generate fileliest
@move src\tools\txt2c.c src\tools\txt2c.c.temp > nul
@dir /s /b src\*.c > files
@move src\tools\txt2c.c.temp src\tools\txt2c.c > nul

@dmc -Isrc/lua @files -o src\bam.exe

@REM ------ Restore everything
@del *.obj *.map
@del files