2009-12-07 Rolf Bjarne Kvinge <RKvinge@novell.com>
[moon.git] / examples / desklet / rules.make
blob9ad9297c48e56ae143c39ce2dcebe2141e6d8cf5
2 # This is the makefile fragment with default rules for building desklets in
3 # Moonlight. If you need to edit this file, that's a bug, email Everaldo
4 # <ecanuto@novell.com> about it.
7 ASSEMBLY = bin/$(DESKLET).dll
8 DSOURCES = $(SOURCES)
9 LAUNCHER = mopen -d
10 LOPTIONS = --debug
12 all: $(ASSEMBLY) postcompile
14 $(ASSEMBLY): $(DSOURCES)
15 mkdir -p bin
16 gmcs -debug -target:library -pkg:silverdesktop -out:$(ASSEMBLY) $(foreach a,$(EXTRA_ASSEMBLIES),-r:$(a)) $(DSOURCES)
18 clean:
19 rm -f $(ASSEMBLY)
20 rm -f $(ASSEMBLY).mdb
22 run: $(ASSEMBLY)
23 MONO_OPTIONS=$(LOPTIONS) $(LAUNCHER) default.xaml
25 dist: $(ASSEMBLY)
26 # put here code to pack desklet (zip? tgz?)
28 postcompile:
30 .PHONY: postcompile