From f0149b9e98e048b898d210a0e6c9d67045744e4d Mon Sep 17 00:00:00 2001 From: Albert Netymk Date: Sat, 16 Apr 2016 17:59:14 +0200 Subject: [PATCH] Add one more lib for linking on Linux (#386) More at https://github.com/parapluu/encore/commit/a567a9f7d7b31ddc821e5010ef0a882dd85b2670 --- src/front/Makefile.hs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/front/Makefile.hs b/src/front/Makefile.hs index 3c7b61215..a6c3569db 100644 --- a/src/front/Makefile.hs +++ b/src/front/Makefile.hs @@ -27,7 +27,7 @@ i = (text "-I" <+>) o = (text "-o" <+>) parent = text ".." -generateMakefile :: [String] -> +generateMakefile :: [String] -> String -> String -> String -> String -> String -> String -> Doc generateMakefile classFiles progName compiler ccFlags incPath defines libs = decl "CC" [compiler] @@ -50,10 +50,10 @@ generateMakefile classFiles progName compiler ccFlags incPath defines libs = empty $\$ rule target deps - (cc [flags, i inc, i parent, deps, lib, defs, o target]) + (cc [flags, i inc, i parent, deps, lib, lib, defs, o target]) $\$ rule bench deps - (cc [benchFlags, i inc, i parent, deps, lib, defs, o target]) + (cc [benchFlags, i inc, i parent, deps, lib, lib, defs, o target]) $\$ rule clean empty (rm [target, target <> dSYM])