Commit 7a786788 authored by Richard Gobeille's avatar Richard Gobeille
Browse files

voidwrap: add explicit "voidwrap" target to Makefile so I can "make voidwrap"...

voidwrap: add explicit "voidwrap" target to Makefile so I can "make voidwrap" and not "make voidwrap_steam_x64.dll", strip .dll after building, add UNREFERENCED_PARAMETER to DllMain() to silence warnings

It's nice that the Steam SDK was apparently updated to be compatible with MinGW at some point, so we aren't forced to build this .dll with MSVC anymore.
parent 25e5521d
......@@ -897,6 +897,9 @@ $(games): $$(foreach i,$(roles),$$($$@_$$i)$(EXESUFFIX)) | start
ebacktrace: $(ebacktrace_dll) | start
@$(call LL,$^)
voidwrap: $(voidwrap_lib) | start
@$(call LL,$^)
ifeq ($(PLATFORM),WII)
ifneq ($(ELF2DOL),)
......@@ -956,6 +959,9 @@ getdxdidf$(EXESUFFIX): $(tools_obj)/getdxdidf.$o $(foreach i,tools $(tools_deps)
$(voidwrap_lib): $(foreach i,$(voidwrap),$(call expandobjs,$i))
$(RECIPE_IF) $(LINKER) -shared -Wl,-soname,$@ -o $@ $^ $(LIBDIRS) $(voidwrap_root)/sdk/redistributable_bin/$(steamworks_lib) $(RECIPE_RESULT_LINK)
ifneq ($(STRIP),)
$(STRIP) $@
### Main Rules
......@@ -8,6 +8,9 @@
BOOL APIENTRY DllMain(HMODULE hModule, DWORD ul_reason_for_call, LPVOID lpReserved)
#if 0
switch (ul_reason_for_call)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment