Subversion Repositories SvarDOS

Rev

Rev 624 | 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
 
624 mateuszvis 12
install.com: keylay.h install.c input.c video.c deflang.c
13
	wcl -0 -y -cc -wx -mt -lr -we -d0 -ox install.c input.c video.c deflang.c svarlang.lib\svarlngs.lib
42 mv_fox 14
	upx --8086 -9 install.com
15
 
624 mateuszvis 16
deflang.c:
17
	cd nls
18
	utf8tocp 437 en_utf8.txt > en.txt
19
	utf8tocp 858 de_utf8.txt > de.txt
20
	utf8tocp 858 fr_utf8.txt > fr.txt
21
	utf8tocp 858 it_utf8.txt > it.txt
22
	utf8tocp maz pl_utf8.txt > pl.txt
23
	utf8tocp 866 ru_utf8.txt > ru.txt
24
	utf8tocp 852 si_utf8.txt > si.txt
25
	utf8tocp 858 sv_utf8.txt > sv.txt
26
	utf8tocp 857 tr_utf8.txt > tr.txt
27
	..\svarlang.lib\tlumacz en de fr it pl ru si sv tr
28
	if exist ..\deflang.c del ..\deflang.c
29
	if exist ..\install.lng del ..\install.lng
30
	move deflang.c ..
31
	move out.lng ..\install.lng
32
	del ??.txt
33
	cd ..
34
 
67 mv_fox 35
locales.exe: locales.c
36
	wcl -0 -y -cc -wx -ml -lr -we -d0 -ox locales.c
37
 
38
keylay.h: locales.exe
39
	locales.exe
40
 
42 mv_fox 41
clean: .SYMBOLIC
42
	del install.com
67 mv_fox 43
	del locales.exe
42 mv_fox 44
	del *.obj
624 mateuszvis 45
	del deflang.c
46
	del install.lng