Subversion Repositories SvarDOS

Rev

Rev 2119 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 2119 Rev 2122
Line 11... Line 11...
11
# uncomment this if you prefer SvarLANG to use fopen() and friends to handle
11
# uncomment this if you prefer SvarLANG to use fopen() and friends to handle
12
# file access instead of raw DOS calls. this might make the program larger if
12
# file access instead of raw DOS calls. this might make the program larger if
13
# it does not use FILE already, but it allows for 100% ANSI C compliancy.
13
# it does not use FILE already, but it allows for 100% ANSI C compliancy.
14
#CFLAGS += -DWITHSTDIO
14
#CFLAGS += -DWITHSTDIO
15
 
15
 
-
 
16
# uncomment this if you'd like to enable an assembly version of the mvcomp
-
 
17
# depacker instead of the native C routine. This saves 27 bytes of footprint.
-
 
18
CFLAGS += -DMVUCOMP_ASM
-
 
19
 
16
ALLFILES = auto_exe.c auto_nls.c svarlang.c version.c
20
ALLFILES = auto_exe.c auto_nls.c svarlang.c version.c
17
 
21
 
18
svarlang.obj: svarlang.c
-
 
19
	wcc $(CFLAGS) -ms -Fo=svarlang.obj svarlang.c
-
 
20
	wdis svarlang.obj > svarlang.out
-
 
21
 
22
 
22
svarlngs.lib: $(ALLFILES)
23
svarlngs.lib: $(ALLFILES)
23
	wcc $(CFLAGS) -ms -Fo=auto_exe.obj auto_exe.c
24
	wcc $(CFLAGS) -ms -Fo=auto_exe.obj auto_exe.c
24
	wcc $(CFLAGS) -ms -Fo=auto_nls.obj auto_nls.c
25
	wcc $(CFLAGS) -ms -Fo=auto_nls.obj auto_nls.c
25
	wcc $(CFLAGS) -ms -Fo=svarlang.obj svarlang.c
26
	wcc $(CFLAGS) -ms -Fo=svarlang.obj svarlang.c