projects
/
hxt-compile.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1dbe832
)
`gmake run' actually compiles the resulting Foo.hs
author
PHO
<pho@cielonegro.org>
Tue, 9 Mar 2010 06:22:11 +0000
(15:22 +0900)
committer
PHO
<pho@cielonegro.org>
Tue, 9 Mar 2010 06:22:11 +0000
(15:22 +0900)
.gitignore
patch
|
blob
|
history
GNUmakefile
patch
|
blob
|
history
diff --git
a/.gitignore
b/.gitignore
index e85448430acaff5d425bae52110be3f263f9dd1d..1491d5244b101c90a441f3b2d28248781068fee6 100644
(file)
--- a/
.gitignore
+++ b/
.gitignore
@@
-1,4
+1,6
@@
Setup
*.hi
*.o
-dist
\ No newline at end of file
+dist
+
+_tmp
diff --git
a/GNUmakefile
b/GNUmakefile
index 749bae3ee27da83a1aedbc6594deefb1c25d11aa..ee7fc8a3cf19788a6ca208cad43ee49a97f3b58b 100644
(file)
--- a/
GNUmakefile
+++ b/
GNUmakefile
@@
-1,4
+1,9
@@
-RUN_COMMAND = ./dist/build/hxt-compile/hxt-compile
+RUN_COMMAND = \
+ rm -rf _tmp && \
+ mkdir _tmp && \
+ ./dist/build/hxt-compile/hxt-compile > _tmp/Foo.hs && \
+ cd _tmp && \
+ ghc --make -c Foo.hs -Wall
CONFIGURE_ARGS = -O0