/
Rules.mak
53 lines (42 loc) · 2.04 KB
/
Rules.mak
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
## XXX does not cover .includes of core .pasm files
$(LIBRARY_DIR)/PCT.pbc : $(PARROT) compilers/pct/PCT.pir \
$(LIBRARY_DIR)/PCT/Grammar.pbc $(LIBRARY_DIR)/PCT/PAST.pbc
$(PARROT) -o $@ compilers/pct/PCT.pir
$(LIBRARY_DIR)/PCT/PAST.pbc : compilers/pct/src/PAST.pir $(PARROT) $(PBC_MERGE) \
$(LIBRARY_DIR)/PCT/HLLCompiler.pbc \
compilers/pct/src/PCT/Node.pbc \
compilers/pct/src/PAST/Node.pbc \
compilers/pct/src/PAST/Compiler.pbc \
compilers/pct/src/POST/Node.pbc \
compilers/pct/src/POST/Compiler.pbc
$(PBC_MERGE) -o $@ \
compilers/pct/src/PCT/Node.pbc \
compilers/pct/src/PAST/Node.pbc \
compilers/pct/src/PAST/Compiler.pbc \
compilers/pct/src/POST/Node.pbc \
compilers/pct/src/POST/Compiler.pbc
$(LIBRARY_DIR)/PCT/Grammar.pbc : compilers/pct/src/PCT/Grammar.pir $(PARROT) \
$(LIBRARY_DIR)/PGE.pbc $(LIBRARY_DIR)/PGE/Util.pbc
$(PARROT) -o $@ compilers/pct/src/PCT/Grammar.pir
$(LIBRARY_DIR)/PCT/HLLCompiler.pbc : compilers/pct/src/PCT/HLLCompiler.pir \
$(PARROT) \
$(LIBRARY_DIR)/PGE/Dumper.pbc \
$(LIBRARY_DIR)/P6object.pbc \
$(LIBRARY_DIR)/Parrot/Exception.pbc \
$(LIBRARY_DIR)/config.pir \
$(LIBRARY_DIR)/Getopt/Obj.pbc \
$(LIBRARY_DIR)/dumper.pbc \
$(LIBRARY_DIR)/PCT/Dumper.pbc
$(PARROT) -o $@ compilers/pct/src/PCT/HLLCompiler.pir
$(LIBRARY_DIR)/PCT/Dumper.pbc : compilers/pct/src/PCT/Dumper.pir $(PARROT)
$(PARROT) -o $@ compilers/pct/src/PCT/Dumper.pir
compilers/pct/src/PCT/Node.pbc : compilers/pct/src/PCT/Node.pir $(PARROT)
$(PARROT) -o $@ compilers/pct/src/PCT/Node.pir
compilers/pct/src/PAST/Node.pbc : compilers/pct/src/PAST/Node.pir $(PARROT)
$(PARROT) -o $@ compilers/pct/src/PAST/Node.pir
compilers/pct/src/PAST/Compiler.pbc : compilers/pct/src/PAST/Compiler.pir $(PARROT)
$(PARROT) -o $@ compilers/pct/src/PAST/Compiler.pir
compilers/pct/src/POST/Node.pbc : compilers/pct/src/POST/Node.pir $(PARROT)
$(PARROT) -o $@ compilers/pct/src/POST/Node.pir
compilers/pct/src/POST/Compiler.pbc : compilers/pct/src/POST/Compiler.pir $(PARROT)
$(PARROT) -o $@ compilers/pct/src/POST/Compiler.pir