aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bootstrap/src/Build.hs3
1 files changed, 2 insertions, 1 deletions
diff --git a/bootstrap/src/Build.hs b/bootstrap/src/Build.hs
index 0e6a7c7..68a8e3c 100644
--- a/bootstrap/src/Build.hs
+++ b/bootstrap/src/Build.hs
@@ -64,6 +64,8 @@ buildProgram programDirectory libraryDirectories sourceExtensions buildDirectory
= do
let includeFlags = map ("-I" ++) libraryDirectories
sourceFiles <- getDirectoriesFiles [programDirectory] sourceExtensions
+ print sourceFiles
+ print (programDirectory </> programSource)
rawSources <- mapM sourceFileToRawSource sourceFiles
let sources' = map processRawSource rawSources
let isThisProgramOrNotProgram p@(Program{}) =
@@ -101,7 +103,6 @@ buildProgram programDirectory libraryDirectories sourceExtensions buildDirectory
["-o", objectFile, sourceFile]
want [buildDirectory </> programName <.> exe]
buildDirectory </> programName <.> exe %> \executable -> do
- liftIO $ print objectFiles
need objectFiles
cmd compiler objectFiles archives ["-o", executable] flags
mapM_ infoToRule compileTimeInfo