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
585 mateuszvis 21
	copy localcfg.lsm appinfo
587 mateuszvis 22
	copy localcfg.com bin
1618 mateusz.vi 23
	copy localcfg.lng bin
605 mateuszvis 24
	copy *.txt doc\localcfg
612 mateuszvis 25
	if exist localcfg.zip del localcfg.zip
1618 mateusz.vi 26
	zip -9rkDX -m localcfg.svp appinfo bin doc
1263 mateusz.vi 27
	zip -9rkDX localcfg.zip *.txt *.c *.h makefile svarlang.lib nls_lang
587 mateuszvis 28
	rmdir appinfo
29
	rmdir bin
609 mateuszvis 30
	rmdir doc\localcfg
587 mateuszvis 31
	rmdir doc