File: makefile.bat

package info (click to toggle)
adlibtracker2 2.4.24-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 7,848 kB
  • sloc: pascal: 70,856; makefile: 31; sh: 3
file content (29 lines) | stat: -rw-r--r-- 930 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
@echo off
if exist adtrack2.res goto :res_ok
windres -i adtrack2.rc -o adtrack2.res
:res_ok
if not exist adtrack2.exe goto :exe_ok
del /F /Q adtrack2.exe >nul
if exist adtrack2.exe goto :error
:exe_ok
echo.
echo ************************************
echo **                                **
echo **  Compiling ADTRACK2            **
echo **                                **
echo ************************************
echo.
fpc.exe -O2 -OpPENTIUM2 -Ccpascal -Mtp -Rintel -Twin32 -WC -Fusdl adtrack2.pas -oadtrack2.exe
set ERR_RESULT="OK"
goto :end
:error
echo.
echo ************************************
echo **                                **
echo **  COMPILATION WAS ABORTED       **
echo **                                **
echo **  Some files are still in use   **
echo **  by other process!             **
echo **                                **
echo ************************************
:end