summaryrefslogtreecommitdiff
path: root/support/asc2tex2/asc2tex.mak
blob: 1ac24c7e419691ef80d915c6c03c5529cee7f801 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
PROJ	=ASC2TEX
DEBUG	=0
CC	=qcl
CFLAGS_G	= /AH /W2 /Ze 
CFLAGS_D	= /Zd /Zr /Gi$(PROJ).mdt /Od 
CFLAGS_R	= /Od /DNDEBUG 
CFLAGS	=$(CFLAGS_G) $(CFLAGS_R)
LFLAGS_G	= /CP:0xffff /NOI /SE:0x80 /ST:0x4000 
LFLAGS_D	= 
LFLAGS_R	= 
LFLAGS	=$(LFLAGS_G) $(LFLAGS_R)
RUNFLAGS	=otto
OBJS_EXT = 	
LIBS_EXT = 	

all:	$(PROJ).exe

asc2tex.obj:	asc2tex.c

string2.obj:	string2.c

$(PROJ).exe:	asc2tex.obj string2.obj $(OBJS_EXT)
	echo >NUL @<<$(PROJ).crf
asc2tex.obj +
string2.obj +
$(OBJS_EXT)
$(PROJ).exe

$(LIBS_EXT);
<<
	link $(LFLAGS) @$(PROJ).crf

run: $(PROJ).exe
	$(PROJ) $(RUNFLAGS)