Update of /cvsroot/gtk2hs/gtk2hs/demo/gconf
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv4280/demo/gconf
Modified Files:
Makefile
Log Message:
For all the demo Makefiles, add HC variable so that the ghc version can be
overridden, eg by make installcheck.
Makefile.am: add the calc demo to the distribution and have it built with make
isntallcheck. Override HC=$(HC) when making the demos so the right version of
ghc is used.
Index: Makefile
===================================================================
RCS file: /cvsroot/gtk2hs/gtk2hs/demo/gconf/Makefile,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- Makefile 19 Jan 2005 04:03:54 -0000 1.3
+++ Makefile 25 Mar 2005 19:31:18 -0000 1.4
@@ -4,9 +4,11 @@
PACKAGES = gconf
$(PROG) : $(SOURCES)
- ghc --make $< -o $@ -fglasgow-exts -fallow-overlapping-instances $(HCFLAGS) $(HCEXTRAFLAGS)
+ $(HC) --make $< -o $@ -fglasgow-exts -fallow-overlapping-instances $(HCFLAGS) $(HCEXTRAFLAGS)
HCEXTRAFLAGS = $(if $(HCNEEDSPACKAGE), $(addprefix -package ,$(PACKAGES)))
clean:
rm -f $(SOURCES:.hs=.hi) $(SOURCES:.hs=.o) $(PROG)
+
+HC=ghc
|