mirror of
https://github.com/Ryujinx/GtkSharp.git
synced 2024-12-23 14:55:40 +00:00
build: Fix compiler parameters in gio and gtk-gio samples
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.
This commit is contained in:
parent
49295c119b
commit
2fcd276b9c
|
@ -6,13 +6,13 @@ assemblies = \
|
||||||
$(top_builddir)/glib/glib-sharp.dll \
|
$(top_builddir)/glib/glib-sharp.dll \
|
||||||
$(top_builddir)/gio/gio-sharp.dll
|
$(top_builddir)/gio/gio-sharp.dll
|
||||||
|
|
||||||
references=$(addprefix /r:, $(assemblies))
|
references=$(addprefix -r:, $(assemblies))
|
||||||
|
|
||||||
noinst_SCRIPTS = $(TARGETS)
|
noinst_SCRIPTS = $(TARGETS)
|
||||||
CLEANFILES = $(TARGETS) $(DEBUGS)
|
CLEANFILES = $(TARGETS) $(DEBUGS)
|
||||||
|
|
||||||
.cs.exe: $(assemblies)
|
.cs.exe: $(assemblies)
|
||||||
$(CSC) /debug /out:$@ $(references) $<
|
$(CSC) $(CSFLAGS) /out:$@ $(references) $<
|
||||||
|
|
||||||
EXTRA_DIST = \
|
EXTRA_DIST = \
|
||||||
AppInfo.cs \
|
AppInfo.cs \
|
||||||
|
|
|
@ -11,13 +11,13 @@ assemblies = \
|
||||||
$(top_builddir)/pango/pango-sharp.dll \
|
$(top_builddir)/pango/pango-sharp.dll \
|
||||||
$(top_builddir)/atk/atk-sharp.dll
|
$(top_builddir)/atk/atk-sharp.dll
|
||||||
|
|
||||||
references=$(addprefix /r:, $(assemblies))
|
references=$(addprefix -r:, $(assemblies))
|
||||||
|
|
||||||
noinst_SCRIPTS = $(TARGETS)
|
noinst_SCRIPTS = $(TARGETS)
|
||||||
CLEANFILES = $(TARGETS) $(DEBUGS)
|
CLEANFILES = $(TARGETS) $(DEBUGS)
|
||||||
|
|
||||||
.cs.exe: $(assemblies)
|
.cs.exe: $(assemblies)
|
||||||
$(CSC) /out:$@ $(references) $<
|
$(CSC) $(CSFLAGS) /out:$@ $(references) $<
|
||||||
|
|
||||||
EXTRA_DIST = \
|
EXTRA_DIST = \
|
||||||
MountOperation.cs
|
MountOperation.cs
|
||||||
|
|
Loading…
Reference in a new issue