- fixed clean rule
[FaRetSys.git] / Makefile
blobfe312eb8fae4f06310ed71530d97defbbecc0da7
1 MCS = mcs
3 IPLUGIN = \
4 Config.cs \
5 IPlugin.cs
7 EITHNE = \
8 About.cs \
9 Block.cs \
10 Connector.cs \
11 Engine.cs \
12 FatalError.cs \
13 LoadError.cs \
14 MainWindow.cs \
15 PluginAbout.cs \
16 PluginDB.cs \
17 PluginError.cs \
18 PluginList.cs \
19 PluginToolbox.cs \
20 Preferences.cs \
21 ReverseIterator.cs \
22 SaveLoad.cs \
23 Schematic.cs \
24 Splash.cs
26 GDKCAIRO = \
27 gdk-cairo.cs
29 UTILITY = \
30 DialogMessage.cs \
31 DialogQuestion.cs \
32 Utility.cs
34 UTILITY_RESOURCES = \
35 DialogMessage.glade \
36 DialogQuestion.glade
38 RESOURCES = \
39 About.glade \
40 FatalError.glade \
41 LoadError.glade \
42 MainWindow.glade \
43 PluginAbout.glade \
44 PluginError.glade \
45 PluginList.glade \
46 Preferences.glade \
47 Splash.glade \
48 pixmaps/dialog-error-16.png \
49 pixmaps/dialog-error.png \
50 pixmaps/dialog-information-16.png \
51 pixmaps/dialog-information.png \
52 pixmaps/dialog-warning-16.png \
53 pixmaps/dialog-warning.png \
54 pixmaps/document-new-22.png \
55 pixmaps/document-new.png \
56 pixmaps/document-open-22.png \
57 pixmaps/document-open.png \
58 pixmaps/document-save-22.png \
59 pixmaps/document-save-as.png \
60 pixmaps/document-save.png \
61 pixmaps/edit-cut.png \
62 pixmaps/edit-delete.png \
63 pixmaps/help-browser-48.png \
64 pixmaps/help-browser.png \
65 pixmaps/icon-16.png \
66 pixmaps/icon-48.png \
67 pixmaps/image-base-22.png \
68 pixmaps/image-base.png \
69 pixmaps/image-test-22.png \
70 pixmaps/image-test.png \
71 pixmaps/list-add.png \
72 pixmaps/list-remove.png \
73 pixmaps/media-playback-start-22.png \
74 pixmaps/media-playback-start.png \
75 pixmaps/media-playback-stop-22.png \
76 pixmaps/media-playback-stop.png \
77 pixmaps/no-base.png \
78 pixmaps/plugin-16.png \
79 pixmaps/plugin-48.png \
80 pixmaps/preferences-desktop-48.png \
81 pixmaps/preferences-desktop.png \
82 pixmaps/system-log-out.png \
83 pixmaps/system-search.png \
84 pixmaps/user-trash-full.png \
85 pixmaps/zsrr.jpg
87 RESFILES = $(addprefix resources/,$(RESOURCES))
88 RESCMD = $(addprefix -resource:,$(RESFILES))
90 URESFILES = $(addprefix resources/,$(UTILITY_RESOURCES))
91 URESCMD = $(addprefix -resource:,$(URESFILES))
93 all: eithne.exe
94 +make -C Plugins
95 +make -C locale
97 eithne.exe: IPlugin.dll gdk-cairo.dll Utility.dll $(EITHNE) $(RESFILES)
98 $(MCS) $(EITHNE) -out:eithne.exe -r:IPlugin -pkg:gtk-sharp-2.0 -pkg:glade-sharp-2.0 -r:Mono.Cairo -r:gdk-cairo -r:Mono.Posix -r:Utility $(RESCMD) -win32icon:resources/pixmaps/icon.ico -debug -target:winexe
100 IPlugin.dll:
101 +make -C IPlugin
103 gdk-cairo.dll: $(GDKCAIRO)
104 $(MCS) $(GDKCAIRO) -out:gdk-cairo.dll -target:library -r:Mono.Cairo -pkg:gtk-sharp-2.0 -debug
106 Utility.dll: $(UTILITY) $(URESFILES) IPlugin.dll
107 $(MCS) $(UTILITY) -target:library -out:Utility.dll -pkg:gtk-sharp-2.0 -pkg:glade-sharp-2.0 -r:IPlugin -r:Mono.Posix -unsafe $(URESCMD) -debug
109 clean:
110 rm -f *.dll eithne.exe *.mdb
111 +make -C IPlugin clean
112 +make -C Plugins clean