Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add one more lib for linking on Linux #386

Merged
merged 1 commit into from
Apr 16, 2016
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions src/front/Makefile.hs
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand All @@ -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])
Expand Down