Skip to content

Commit 84916f8

Browse files
committed
Describe compilation order (due to dependencies) in Makefile
1 parent 9515b73 commit 84916f8

File tree

1 file changed

+12
-3
lines changed

1 file changed

+12
-3
lines changed

lib/Makefile

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,25 @@ COMPILER=../bin/troupec
22

33
build:
44
mkdir -p out
5-
# Standard Library
5+
6+
# No dependencies
67
$(COMPILER) ./Number.trp -l
78
$(COMPILER) ./List.trp -l
89
$(COMPILER) ./ThreadUtil.trp -l
10+
11+
# Dependency on `List`
912
$(COMPILER) ./ListPair.trp -l
13+
$(COMPILER) ./Unit.trp -l
1014
$(COMPILER) ./DeclassifyUtil.trp -l
15+
$(COMPILER) ./StencilVector.trp -l
16+
17+
# Dependency on `List` and `Number`
1118
$(COMPILER) ./String.trp -l
19+
20+
# Dependency on `Number`, `String`, and `List`
1221
$(COMPILER) ./Hash.trp -l
13-
$(COMPILER) ./Unit.trp -l
14-
$(COMPILER) ./StencilVector.trp -l
22+
23+
# Dependency on `List`, `ListPair`, and `StencilVector`
1524
$(COMPILER) ./HashMap.trp -l
1625
$(COMPILER) ./HashSet.trp -l
1726

0 commit comments

Comments
 (0)