2fcd276b9c
Having parameters starting with a forward slash seems to break when building with MinGW on Windows. So we use a dash to be consistent with other Makefiles. Also use the CSFLAGS variable in the sample/gio Makefile, instead of hardcoding the debug flag.
24 lines
577 B
Makefile
Executable file
24 lines
577 B
Makefile
Executable file
TARGETS = MountOperation.exe
|
|
|
|
DEBUGS = $(addsuffix .mdb, $(TARGETS))
|
|
|
|
assemblies = \
|
|
$(top_builddir)/glib/glib-sharp.dll \
|
|
$(top_builddir)/cairo/cairo-sharp.dll \
|
|
$(top_builddir)/gtk/gtk-sharp.dll \
|
|
$(top_builddir)/gio/gio-sharp.dll \
|
|
$(top_builddir)/gdk/gdk-sharp.dll \
|
|
$(top_builddir)/pango/pango-sharp.dll \
|
|
$(top_builddir)/atk/atk-sharp.dll
|
|
|
|
references=$(addprefix -r:, $(assemblies))
|
|
|
|
noinst_SCRIPTS = $(TARGETS)
|
|
CLEANFILES = $(TARGETS) $(DEBUGS)
|
|
|
|
.cs.exe: $(assemblies)
|
|
$(CSC) $(CSFLAGS) /out:$@ $(references) $<
|
|
|
|
EXTRA_DIST = \
|
|
MountOperation.cs
|
|
|