Skip to content
GitLab
Explore
Sign in
Register
Glasgow Haskell Compiler
GHC
Wiki
Building
modifying
modifying
· Changes
Page history
Added missing step in adding a new program
authored
Mar 24, 2015
by
Phyx-
Hide whitespace changes
Inline
Side-by-side
building/modifying.md
View page @
f0cbb3a3
...
@@ -143,6 +143,13 @@ $(eval $(call bindist,utils/hpc,ghc.mk))
...
@@ -143,6 +143,13 @@ $(eval $(call bindist,utils/hpc,ghc.mk))
```
```
You also need to modify the top-level
`ghc.mk`
file and add a
`BUILD_DIRS`
entry for your new program:
```
wiki
BUILD_DIRS += utils/hpc
```
This is all that is necessary to build and install a program. Taking each of these lines in turn:
This is all that is necessary to build and install a program. Taking each of these lines in turn:
```
wiki
```
wiki
...
...