X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=source%2Frice_gles%2Fprojects%2Funix%2FMakefile;fp=source%2Frice_gles%2Fprojects%2Funix%2FMakefile;h=edcdceaf86608ca435c4962489a3e089824b430a;hb=48d77f736bea02afeb362cff05c81375752b3015;hp=466f18302dee7836de5ecbaa6a1421eeb2248f92;hpb=f18a2655e53ab6340888091f0e7ee0d1ec62d8d1;p=mupen64plus-pandora.git diff --git a/source/rice_gles/projects/unix/Makefile b/source/rice_gles/projects/unix/Makefile index 466f183..edcdcea 100755 --- a/source/rice_gles/projects/unix/Makefile +++ b/source/rice_gles/projects/unix/Makefile @@ -363,9 +363,15 @@ SOURCE += \ $(SRCDIR)/osal_files_unix.c endif +ifeq ($(CPU),ARM) +SOURCE += \ + $(SRCDIR)/RenderBase_neon.S +endif + # generate a list of object files build, make a temporary directory for them OBJECTS := $(patsubst $(SRCDIR)/%.c, $(OBJDIR)/%.o, $(filter %.c, $(SOURCE))) OBJECTS += $(patsubst $(SRCDIR)/%.cpp, $(OBJDIR)/%.o, $(filter %.cpp, $(SOURCE))) +OBJECTS += $(patsubst $(SRCDIR)/%.S, $(OBJDIR)/%.o, $(filter %.S, $(SOURCE))) OBJDIRS = $(dir $(OBJECTS)) $(shell $(MKDIR) $(OBJDIRS)) @@ -425,6 +431,9 @@ CXXFLAGS += $(CFLAGS) $(OBJDIR)/%.o: $(SRCDIR)/%.c $(COMPILE.c) -o $@ $< +$(OBJDIR)/%.o: $(SRCDIR)/%.S + $(COMPILE.c) -o $@ $< + $(OBJDIR)/%.o: $(SRCDIR)/%.cpp $(COMPILE.cc) -o $@ $<