From: Duncan C. <dun...@us...> - 2005-01-16 14:16:15
|
Update of /cvsroot/gtk2hs/gtk2hs/demo/filechooser In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14288/demo/filechooser Modified Files: FileChooserDemo.hs Makefile Log Message: Update all the demos to use the new module names and write new makefiles. Index: FileChooserDemo.hs =================================================================== RCS file: /cvsroot/gtk2hs/gtk2hs/demo/filechooser/FileChooserDemo.hs,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- FileChooserDemo.hs 2 May 2004 13:20:01 -0000 1.2 +++ FileChooserDemo.hs 16 Jan 2005 14:15:32 -0000 1.3 @@ -1,7 +1,7 @@ module Main where -import Gtk -import Glade +import Graphics.UI.Gtk +import Graphics.UI.Gtk.Glade main :: IO () main = do Index: Makefile =================================================================== RCS file: /cvsroot/gtk2hs/gtk2hs/demo/filechooser/Makefile,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- Makefile 29 Jul 2004 00:51:27 -0000 1.2 +++ Makefile 16 Jan 2005 14:15:32 -0000 1.3 @@ -1,13 +1,9 @@ -TOP = ../.. - -include $(TOP)/mk/config.mk - -MAIN = FileChooserDemo.hs - -APPNAME = fileChooser -NEEDPACKAGES = gtk2 glade +PROG = filechooser +SOURCES = FileChooserDemo.hs -EXTRA_TARFILES += FileChooserDemo.glade +$(PROG) : $(SOURCES) + ghc --make $< -o $@ $(HCFLAGS) -include $(TOP)/mk/common.mk +clean: + rm -f $(SOURCES:.hs=.hi) $(SOURCES:.hs=.o) $(PROG) |