Subversion Repositories SvarDOS

Rev

Rev 586 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 586 Rev 587
Line 1... Line 1...
1
#
1
#
2
# localcfg Makefile for Turbo C 2.01
2
# localcfg Makefile for OpenWatcom
3
#
3
#
4
 
4
 
5
all: localcfg.com
5
all: localcfg.com
6
 
6
 
7
localcfg.com: localcfg.c country.c
7
localcfg.com: localcfg.c country.c
8
	tcc -mt -lt -f- -O -Z -d -w localcfg.c country.c
8
	wcl -0 -y -cc -wx -mt -lr -we -d0 -ox localcfg.c country.c
9
	upx --8086 -9 localcfg.com
9
	upx --8086 -9 localcfg.com
10
 
10
 
11
clean:
11
clean: .SYMBOLIC
12
	del *.obj
12
	del *.obj
13
	del *.com
13
	del *.com
14
 
14
 
15
buildpkg: localcfg.com
15
buildpkg: localcfg.com
16
	mkdir appinfo
16
	mkdir appinfo
17
	mkdir source
17
	mkdir source
18
	mkdir source\localcfg
18
	mkdir source\localcfg
19
	mkdir progs
19
	mkdir bin
20
	mkdir progs\localcfg
20
	mkdir doc
21
	copy localcfg.lsm appinfo
21
	copy localcfg.lsm appinfo
22
	copy localcfg.com progs\localcfg
22
	copy localcfg.com bin
23
	copy *.txt progs\localcfg
23
	copy *.txt doc
24
	copy *.c source\localcfg
24
	copy *.c source\localcfg
25
	copy *.h source\localcfg
25
	copy *.h source\localcfg
26
	copy *.txt source\localcfg
26
	copy *.txt source\localcfg
27
	copy makefile.* source\localcfg
27
	copy makefile source\localcfg
28
	zip -9 -m -r localcfg.zip appinfo progs source
28
	zip -9rkDX -m localcfg.zip appinfo bin doc source
-
 
29
	rmdir appinfo
-
 
30
	rmdir source\localcfg
-
 
31
	rmdir source
-
 
32
	rmdir bin
-
 
33
	rmdir doc