mirror of
https://github.com/Ryujinx/GtkSharp.git
synced 2024-09-07 15:33:20 +02:00
![Bertrand Lorentz](/assets/img/avatar_default.png)
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.
21 lines
393 B
Makefile
Executable File
21 lines
393 B
Makefile
Executable File
TARGETS = AppInfo.exe Volume.exe
|
|
|
|
DEBUGS = $(addsuffix .mdb, $(TARGETS))
|
|
|
|
assemblies = \
|
|
$(top_builddir)/glib/glib-sharp.dll \
|
|
$(top_builddir)/gio/gio-sharp.dll
|
|
|
|
references=$(addprefix -r:, $(assemblies))
|
|
|
|
noinst_SCRIPTS = $(TARGETS)
|
|
CLEANFILES = $(TARGETS) $(DEBUGS)
|
|
|
|
.cs.exe: $(assemblies)
|
|
$(CSC) $(CSFLAGS) /out:$@ $(references) $<
|
|
|
|
EXTRA_DIST = \
|
|
AppInfo.cs \
|
|
Volume.cs
|
|
|