diff --git a/src/libretro/Makefile b/src/libretro/Makefile index 20198aaf..a3d942aa 100644 --- a/src/libretro/Makefile +++ b/src/libretro/Makefile @@ -580,10 +580,10 @@ else endif %.o: %.cpp - $(CXX) -c $(OBJOUT) $@ $< $(CXXFLAGS) $(INCFLAGS) + $(CXX) -c $(OBJOUT)$@ $< $(CXXFLAGS) $(INCFLAGS) %.o: %.c - $(CC) -c $(OBJOUT) $@ $< $(CFLAGS) $(INCFLAGS) + $(CC) -c $(OBJOUT)$@ $< $(CFLAGS) $(INCFLAGS) ifeq ($(platform), theos_ios) COMMON_FLAGS := -DIOS $(COMMON_DEFINES) $(INCFLAGS) -I$(THEOS_INCLUDE_PATH) -Wno-error @@ -598,7 +598,7 @@ $(TARGET): $(OBJS) ifeq ($(STATIC_LINKING), 1) $(AR) rcs $@ $(OBJS) else - $(LD) $(LINKOUT) $@ $(SHARED) $(OBJS) $(LDFLAGS) $(LIBS) + $(LD) $(LINKOUT)$@ $(SHARED) $(OBJS) $(LDFLAGS) $(LIBS) endif clean: