mirror of
https://github.com/libretro/beetle-pce-fast-libretro.git
synced 2024-11-26 17:40:40 +00:00
Buildfix for Windows
This commit is contained in:
parent
bea0ff8f85
commit
83d8491888
10
Makefile
10
Makefile
@ -393,6 +393,7 @@ else ifneq (,$(findstring windows_msvc2017,$(platform)))
|
||||
TARGET := $(TARGET_NAME)_libretro.dll
|
||||
PSS_STYLE :=2
|
||||
LDFLAGS += -DLL
|
||||
WINDOWS_VERSION=1
|
||||
|
||||
# Windows MSVC 2010 x64
|
||||
else ifeq ($(platform), windows_msvc2010_x64)
|
||||
@ -632,16 +633,13 @@ else
|
||||
endif
|
||||
|
||||
%.o: %.cpp
|
||||
@$(CXX) -c $(OBJOUT)$@ $< $(CPPFLAGS) $(CXXFLAGS)
|
||||
@echo "CXX $<"
|
||||
$(CXX) -c $(OBJOUT)$@ $< $(CPPFLAGS) $(CXXFLAGS)
|
||||
|
||||
%.o: %.c
|
||||
@$(CC) -c $(OBJOUT)$@ $< $(CPPFLAGS) $(CFLAGS)
|
||||
@echo "CC $<"
|
||||
$(CC) -c $(OBJOUT)$@ $< $(CPPFLAGS) $(CFLAGS)
|
||||
|
||||
clean:
|
||||
@rm -f $(OBJECTS)
|
||||
@echo rm -f *.o
|
||||
rm -f $(OBJECTS)
|
||||
rm -f $(TARGET)
|
||||
|
||||
install:
|
||||
|
@ -174,7 +174,7 @@ ifeq ($(HAVE_CHD), 1)
|
||||
else
|
||||
INCFLAGS += $(LIBCHDR_INCFLAGS)
|
||||
SOURCES_C += $(LIBCHDR_SOURCES_C)
|
||||
ifneq (,$(findstring windows,$(platform)))
|
||||
ifeq ($(WINDOWS_VERSION), 1)
|
||||
SOURCES_C += $(DEPS_DIR)/flac-1.3.2/src/libFLAC/windows_unicode_filenames.c
|
||||
endif
|
||||
endif
|
||||
|
Loading…
Reference in New Issue
Block a user