Commit 2cb54b0a authored by Ryan 'Swingflip' Hamlin's avatar Ryan 'Swingflip' Hamlin
Browse files

Add SOURCES_S defines

parent 131b655e
......@@ -19,7 +19,7 @@ all: $(TARGET)
$(TARGET): $(OBJECTS) | vendor/libretro-common/include/libretro.h
$(CXX) -o $@ $^ $(LDFLAGS)
@echo "** BUILD SUCCESSFUL! GG NO RE **"
%.o: %.cpp | vendor/libretro-common/include/libretro.h
$(CXX) -c -o $@ $< $(CXXFLAGS)
......@@ -29,6 +29,9 @@ $(TARGET): $(OBJECTS) | vendor/libretro-common/include/libretro.h
%.o: %.m | vendor/libretro-common/include/libretro.h
$(CC) -c -o $@ $< $(CFLAGS)
%.o: %.S | vendor/libretro-common/include/libretro.h
$(CC) -c -o $@ $< $(CFLAGS)
clean:
rm -f $(TARGET) $(OBJECTS)
git clean -xdf
......
......@@ -45,7 +45,7 @@ ifneq ($(STATIC_LINKING), 1)
$(CORE_DIR)/vendor/libretro-common/vfs/*.c \
)
# Ensure the sinc_resampler_neon is available for ARM NEON devices.
OBJECTS += $(CORE_DIR)/vendor/libretro-common/audio/resampler/drivers/sinc_resampler_neon.o
SOURCES_S += $(CORE_DIR)/vendor/libretro-common/audio/resampler/drivers/sinc_resampler_neon.o
# MD5
FLAGS += -I$(CORE_DIR)/vendor/libretro-common/include
......@@ -199,7 +199,7 @@ endif
FLAGS += -DSDL_THREADS_DISABLED -DSDL_CDROM_DISABLED
FLAGS += -I$(CORE_DIR)/vendor/sdl-libretro/include
OBJECTS += $(SOURCES_CXX:.cpp=.o) $(SOURCES_C:.c=.o) $(SOURCES_M:.m=.o)
OBJECTS += $(SOURCES_CXX:.cpp=.o) $(SOURCES_C:.c=.o) $(SOURCES_S:.S=.o) $(SOURCES_M:.m=.o)
LDFLAGS += $(fpic) $(SHARED) $(EXTRA_LDF)
......
Markdown is supported
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