| Version 1 (modified by benl, 4 years ago) |
|---|
Build Flavour
Set BUILDFLAVOUR in make/config.mk file to devel for faster builds. This turns off some GHC optimizations, and reduces the amount of rebuilding that must be done after changing one of the compiler source files.
Build Targets
| all | Build everything except docs |
| deps | Rebuild dependencies (this is usually done automatically) |
| runtime | Build just the runtime system |
| external | Build external libraries docs |
| libs | Build base DDC libraries |
| doc | Build Haddock docs |
| test | Run the quick check and regression rests |
| clean | Clean all .o .di .ddc.c .ddc.h .hi files from everywhere |
| cleanWar | Clean up everything produced by DDC itself: libraries, tests, demos |
| cleanRuntime | Clean up the runtime system |
| bin/ddc | Build just the compiler |
| bin/war2 | Build just the test driver (for the war against bugs) |
| bin/plate | Build just the boilerplate generator |
When hacking on DDC we usually use the the bin/ddc target to avoid trying to recompile the runtime system and external libs each time around.
$ make bin/ddc
