Subversion Repositories SvarDOS

Rev

Rev 1281 | Rev 1379 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1281 Rev 1372
Line 1... Line 1...
1
#
1
#
2
# make instructions to build svarlang and tlumacz.exe with OpenWatcom
2
# make instructions to build svarlang and tlumacz.exe with OpenWatcom
3
# Copyright (C) 2021-2023 Mateusz Viste
3
# Copyright (C) 2021-2023 Mateusz Viste
4
#
4
#
5
 
5
 
6
all: svarlngs.lib svarlngc.lib svarlngm.lib svarlngl.lib tlumacz.exe
6
ALLBIN = svarlngs.lib svarlngc.lib svarlngm.lib svarlngl.lib tlumacz.exe
-
 
7
all: $(ALLBIN)
7
 
8
 
8
CFLAGS = -0 -wx -we -ox
9
CFLAGS = -0 -wx -we -ox
9
 
10
 
10
# uncomment this if you prefer that SvarLANG uses fopen() etc to handle files
11
# uncomment this if you prefer that SvarLANG uses fopen() etc to handle files
11
# instead of direct DOS calls. this might make the final program slightly
12
# instead of direct DOS calls. this might make the final program slightly
Line 44... Line 45...
44
	wcc $(CFLAGS) -ml svarlang.c
45
	wcc $(CFLAGS) -ml svarlang.c
45
	wcc $(CFLAGS) -ml version.c
46
	wcc $(CFLAGS) -ml version.c
46
	if exist svarlngl.lib del svarlngl.lib
47
	if exist svarlngl.lib del svarlngl.lib
47
	wlib -n svarlngl.lib +auto_exe.obj +auto_nls.obj +svarlang.obj +version.obj
48
	wlib -n svarlngl.lib +auto_exe.obj +auto_nls.obj +svarlang.obj +version.obj
48
 
49
 
-
 
50
release: $(ALLBIN) .symbolic
-
 
51
	if exist svarlang.zip del svarlang.zip
-
 
52
	if exist svrl_src.zip del svrl_src.zip
-
 
53
	zip -9rkDX svarlang.zip *.lib *.h *.txt tlumacz.exe
-
 
54
	zip -9rkDX svrl_src.zip *.c *.txt *.h makefile
49
 
55
 
50
tlumacz.exe: tlumacz.c
56
tlumacz.exe: tlumacz.c
51
	wcl -0 -y -cc -wx -mc -lr -we -ox tlumacz.c
57
	wcl -0 -y -cc -wx -mc -lr -we -ox tlumacz.c
52
	del *.obj
58
	del *.obj
53
 
59
 
54
clean: .symbolic
60
clean: .symbolic
55
	del *.exe
61
	del *.exe
56
	del *.obj
62
	del *.obj
57
	del *.lib
63
	del *.lib
-
 
64
	del *.zip