Subversion Repositories SvarDOS

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
585 mateuszvis 1
#
587 mateuszvis 2
# localcfg Makefile for OpenWatcom
585 mateuszvis 3
#
4
 
5
all: localcfg.com
6
 
603 mateuszvis 7
localcfg.com: localcfg.c country.c deflang.c
1263 mateusz.vi 8
	*wcl -0 -y -cc -wx -mt -lr -zp1 -we -d0 -ox -I=svarlang.lib localcfg.c country.c deflang.c svarlang.lib/svarlngs.lib
605 mateuszvis 9
	del *.obj
585 mateuszvis 10
	upx --8086 -9 localcfg.com
11
 
587 mateuszvis 12
clean: .SYMBOLIC
585 mateuszvis 13
	del *.obj
14
	del *.com
15
 
1191 mateusz.vi 16
release: localcfg.com .SYMBOLIC
585 mateuszvis 17
	mkdir appinfo
587 mateuszvis 18
	mkdir bin
19
	mkdir doc
605 mateuszvis 20
	mkdir doc\localcfg
603 mateuszvis 21
	mkdir nls
585 mateuszvis 22
	copy localcfg.lsm appinfo
587 mateuszvis 23
	copy localcfg.com bin
603 mateuszvis 24
	copy localcfg.lng nls
605 mateuszvis 25
	copy *.txt doc\localcfg
612 mateuszvis 26
	if exist localcfg.zip del localcfg.zip
1191 mateusz.vi 27
	zip -9rkDX -m localcfg.svp appinfo bin doc nls
1263 mateusz.vi 28
	zip -9rkDX localcfg.zip *.txt *.c *.h makefile svarlang.lib nls_lang
587 mateuszvis 29
	rmdir appinfo
30
	rmdir bin
609 mateuszvis 31
	rmdir doc\localcfg
587 mateuszvis 32
	rmdir doc
603 mateuszvis 33
	rmdir nls