Normalise benchmarks
This attempts to normalize the benchmark layout a bit to make it easier to use run them in one-off settings. Namely:
- Prefer to set
PROG_ARGSrather thanSRC_RUNTEST_OPTSfor arguments destined for the program - Use
Main.l?hsas the main module name if possible. - Eliminate redundant
-cppflags - Use
LANGUAGEpragmas instead of compiler flags - Use
OPTION_GHCpragmas instead of compiler flags where possible - Rewrite tabs to spaces to avoid warnings
- Move
-packageflags to a newSRC_DEPSvariable, where it can be better managed by the build system (although such support will only come in !24 (merged))
Edited by Ben Gamari