mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-26 19:55:44 +00:00
a97cd0077f
This fixes the "32MB memory limit per process" problem in Windows CE < 6.0
16 lines
631 B
Makefile
16 lines
631 B
Makefile
ifdef WRAP_MALLOC
|
|
LDFLAGS += -Wl,--wrap,malloc -Wl,--wrap,free
|
|
endif
|
|
|
|
backends/platform/wince/PocketSCUMM.o: $(srcdir)/backends/platform/wince/PocketSCUMM.rc
|
|
$(QUIET)$(MKDIR) $(*D)
|
|
$(WINDRES) $(WINDRESFLAGS) -I$(srcdir)/backends/platform/wince $< $@
|
|
|
|
ifdef DYNAMIC_MODULES
|
|
plugins: backends/platform/wince/stub.o backends/platform/wince/PocketSCUMM.o
|
|
$(CXX) backends/platform/wince/stub.o backends/platform/wince/PocketSCUMM.o -L. -lscummvm -o scummvm.exe
|
|
|
|
backends/platform/wince/stub.o: $(srcdir)/backends/platform/wince/stub.cpp
|
|
$(CXX) -c $(srcdir)/backends/platform/wince/stub.cpp -o backends/platform/wince/stub.o
|
|
endif
|