From: Duncan C. <dun...@us...> - 2005-03-25 19:31:59
|
Update of /cvsroot/gtk2hs/gtk2hs/demo/glade In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv4280/demo/glade 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/glade/Makefile,v retrieving revision 1.7 retrieving revision 1.8 diff -u -d -r1.7 -r1.8 --- Makefile 19 Jan 2005 04:03:55 -0000 1.7 +++ Makefile 25 Mar 2005 19:31:19 -0000 1.8 @@ -4,9 +4,11 @@ PACKAGES = glade $(PROG) : $(SOURCES) - ghc --make $< -o $@ $(HCFLAGS) $(HCEXTRAFLAGS) + $(HC) --make $< -o $@ $(HCFLAGS) $(HCEXTRAFLAGS) HCEXTRAFLAGS = $(if $(HCNEEDSPACKAGE), $(addprefix -package ,$(PACKAGES))) clean: rm -f $(SOURCES:.hs=.hi) $(SOURCES:.hs=.o) $(PROG) + +HC=ghc |