Subversion Repositories SvarDOS

Rev

Rev 624 | Rev 1177 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
42 mv_fox 1
#
190 mateuszvis 2
# This is a makefile to build the SvarDOS install program
42 mv_fox 3
#
4
# You can use following targets:
5
#
309 mateuszvis 6
#  wmake           - compiles the program
7
#  wmake clean     - cleans up all non-source files
42 mv_fox 8
#
9
 
10
all: install.com
11
 
908 mateusz.vi 12
install.com: keylay.h install.c input.c video.c deflang.c int24hdl.obj
13
	wcl -0 -y -cc -wx -mt -lr -we -d0 -ox install.c input.c video.c deflang.c int24hdl.obj svarlang.lib\svarlngs.lib
42 mv_fox 14
	upx --8086 -9 install.com
15
 
908 mateusz.vi 16
int24hdl.obj: int24hdl.asm
17
	wasm -0 -mt -wx -we int24hdl.asm
18
 
624 mateuszvis 19
deflang.c:
20
	cd nls
21
	utf8tocp 437 en_utf8.txt > en.txt
22
	utf8tocp 858 de_utf8.txt > de.txt
23
	utf8tocp 858 fr_utf8.txt > fr.txt
24
	utf8tocp 858 it_utf8.txt > it.txt
25
	utf8tocp maz pl_utf8.txt > pl.txt
26
	utf8tocp 866 ru_utf8.txt > ru.txt
27
	utf8tocp 852 si_utf8.txt > si.txt
28
	utf8tocp 858 sv_utf8.txt > sv.txt
29
	utf8tocp 857 tr_utf8.txt > tr.txt
30
	..\svarlang.lib\tlumacz en de fr it pl ru si sv tr
31
	if exist ..\deflang.c del ..\deflang.c
32
	if exist ..\install.lng del ..\install.lng
33
	move deflang.c ..
34
	move out.lng ..\install.lng
35
	del ??.txt
36
	cd ..
37
 
67 mv_fox 38
locales.exe: locales.c
39
	wcl -0 -y -cc -wx -ml -lr -we -d0 -ox locales.c
40
 
41
keylay.h: locales.exe
42
	locales.exe
43
 
42 mv_fox 44
clean: .SYMBOLIC
45
	del install.com
67 mv_fox 46
	del locales.exe
42 mv_fox 47
	del *.obj
624 mateuszvis 48
	del deflang.c
49
	del install.lng