More fixes to the Makefile
authorIustin Pop <iustin@google.com>
Fri, 20 Mar 2009 22:43:59 +0000 (23:43 +0100)
committerIustin Pop <iustin@google.com>
Fri, 20 Mar 2009 22:43:59 +0000 (23:43 +0100)
Makefile

index 3656ff6..67096d4 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -8,7 +8,7 @@ DOCS = README.html NEWS.html
 
 all: $(HPROGS)
 
-hn1 hbal: Ganeti/HTools/Version.hs
+hn1 hbal: % : %.hs Ganeti/HTools/Version.hs $(HSRCS) Makefile
        ghc --make -O2 -W $@
 
 $(DOCS) : %.html : %