2 PROP_OPTS
= -s
-S
-O15
-r
-v2
3 #PROP_OPTS= -S -O15 -r -v2
6 CINCLUDE
= -I..
/..
/include
8 H_SRC
= foundation.h setl-lexeme.h setl-ast.h setl-syntax.h
9 C_SRC
= setl-lexer.
cc setl-syntax.
cc setl-ast.
cc
10 SRC
= $(H_SRC
) $(C_SRC
)
11 OBJS
= setl-lexer.o setl-syntax.o setl-ast.o
16 /bin
/rm -f
*.o
$(SRC
) *.report
19 tar -cvf
- Makefile
*.
*cc *.
*h | gzip
>SETL.
tar.gz
21 setl-syntax.
cc: foundation.ph setl-lexeme.ph setl-syntax.ph setl-ast.ph setl-syntax.pcc
22 setl-lexer.
cc: foundation.ph setl-lexeme.ph setl-lexer.pcc
23 setl-ast.
cc: foundation.ph setl-ast.ph setl-ast.pcc
25 setl-syntax.o
: foundation.h setl-lexeme.h setl-syntax.h setl-syntax.
cc
26 setl-lexer.o
: foundation.h setl-lexeme.h setl-lexer.
cc
27 setl-ast.o
: foundation.h setl-ast.h setl-ast.
cc
30 $(PROP
) $(PROP_OPTS
) $(@
:.h
=.ph
)
32 $(PROP
) $(PROP_OPTS
) $(@
:.
cc=.pcc
)
34 $(CC
) -c
$(COPTS
) $(CINCLUDE
) $(@
:.o
=.
cc)