Subversion Repositories SvarDOS

Rev

Go to most recent revision | Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
219 mateuszvis 1
@echo off
2
 
3
if not exist tmp\nul mkdir tmp
4
 
5
REM reuse FDNPKG code
6
copy /y ..\crc32.c tmp\
7
copy /y ..\fileexst.c tmp\
8
copy /y ..\getdelim.c tmp\
9
copy /y ..\helpers.c tmp\
10
copy /y ..\inf.c tmp\
11
copy /y ..\libunzip.c tmp\
12
copy /y ..\loadconf.c tmp\
13
copy /y ..\lsm.c tmp\
14
copy /y ..\parsecmd.c tmp\
15
copy /y ..\pkginst.c tmp\
16
copy /y ..\pkgrem.c tmp\
17
copy /y ..\readenv.c tmp\
18
copy /y ..\rtrim.c tmp\
19
copy /y ..\showinst.c tmp\
20
 
21
REM add a few fdinst-specific things
22
copy /y fdinst.c tmp\
23
copy /y kprintf0.c tmp\
24
 
25
wcl -0 -lr -ml -os -wx -we -d0 -i=..\ -i=..\zlib\ -DNOREPOS -DNOLZMA -fe=fdinst.exe tmp\*.c ..\zlib\zlib_l.lib
26
if ERRORLEVEL 1 goto gameover
27
 
28
del tmp\*.c
29
rmdir tmp
30
 
31
upx --8086 -9 fdinst.exe
32
 
33
:gameover