-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathfix.bat
More file actions
49 lines (33 loc) · 976 Bytes
/
fix.bat
File metadata and controls
49 lines (33 loc) · 976 Bytes
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
@echo off
rem Sets makefile source code for the different platforms
rem Based on fix.bat of Allegro.
rem Modified By Kronoman - In loving memory of my father.
rem Modified By Guillermo "Ñuño" Martínez.
if [%1] == [dos] goto dos
if [%1] == [linux] goto linux
if [%1] == [win] goto win
goto help
:dos
echo Configuring for DOS/FPC...
echo # Warning! This file will be overwritten by configuration routines! > target.os
echo TARGET=DOS>> target.os
goto done
:win
echo Configuring for Windows/FPC...
echo # Warning! This file will be overwritten by configuration routines! > target.os
echo TARGET=WIN>> target.os
goto done
:linux
echo Configuring for GNU/Linux...
echo # Warning! This file will be overwritten by configuration routines! > target.os
echo TARGET=LINUX>> target.os
goto done
:help
echo Usage: fix platform
echo.
echo Where platform is one of: dos, win or linux.
echo.
goto end
:done
echo Done!
:end