summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/stex/bin/old/Makefile
blob: d2ae41c64015b8b212db1b19aba89ecdd8d0587a (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
all:		src exec

src:		idcheck.l defcon.l modstr.l
		flex -ft idcheck.l > idcheck.yy.c
		flex -ft defcon.l > defcon.yy.c
		flex -f+t modstr.l > modstr.yy.cc

idcheck:	idcheck.l
		flex -f $<
		gcc lex.yy.c -lfl -o idcheck

defcon:  	defcon.l
		flex -f $<
		gcc lex.yy.c -lfl -o defcon

modstr:		modstr.l
		flex -f+ $<
		g++ lex.yy.cc -lfl -o modstr
 
exec:		idcheck.yy.c defcon.yy.c modstr.yy.cc
		gcc idcheck.yy.c -lfl -o idcheck
		gcc defcon.yy.c -lfl -o defcon
		g++ modstr.yy.cc -lfl -o modstr

clean:		
		rm -f *.yy.c *.yy.cc *~

distclean:	clean