From: Duncan C. <dun...@us...> - 2005-03-25 19:31:30
|
Update of /cvsroot/gtk2hs/gtk2hs/demo/sourceview In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv4280/demo/sourceview 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/sourceview/Makefile,v retrieving revision 1.4 retrieving revision 1.5 diff -u -d -r1.4 -r1.5 --- Makefile 19 Jan 2005 04:03:57 -0000 1.4 +++ Makefile 25 Mar 2005 19:31:21 -0000 1.5 @@ -4,9 +4,11 @@ PACKAGES = sourceview $(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 |