~ubuntu-branches/ubuntu/lucid/gtk2hs/lucid

« back to all changes in this revision

Viewing changes to demo/profileviewer/Makefile

  • Committer: Bazaar Package Importer
  • Author(s): Liyang HU
  • Date: 2006-07-22 21:31:58 UTC
  • Revision ID: james.westby@ubuntu.com-20060722213158-he81wo6uam30m9aw
Tags: upstream-0.9.10
ImportĀ upstreamĀ versionĀ 0.9.10

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
 
 
2
PROG  = profileviewer
 
3
SOURCES = ProfileViewer.hs ParseProfile.hs
 
4
PACKAGES = glade mogul
 
5
 
 
6
$(PROG) : $(SOURCES)
 
7
        $(HC) --make $< -o $@ $(HCFLAGS) $(HCEXTRAFLAGS)
 
8
 
 
9
HCEXTRAFLAGS = $(if $(HCNEEDSPACKAGE), $(addprefix -package ,$(PACKAGES)))
 
10
 
 
11
clean:
 
12
        rm -f $(SOURCES:.hs=.hi) $(SOURCES:.hs=.o) $(PROG)
 
13
 
 
14
HC=ghc