Makefile: Generate both 'mesen-s' and 'mesens' files as a quick workaround to makefile issues

This commit is contained in:
Sour 2019-10-14 17:28:00 -04:00
parent 0bcb2d800e
commit 589855e00b

View file

@ -299,6 +299,8 @@ endif
CFLAGS += -D LIBRETRO $(fpic)
CXXFLAGS += -D LIBRETRO $(fpic) -std=c++14
ALTTARGET := $(subst mesen-s,mesens,$(TARGET))
all: $(TARGET)
$(TARGET): $(OBJECTS)
@ -312,6 +314,7 @@ endif
else
$(LD) $(fpic) $(SHARED) $(INCLUDES) $(LINKOUT)$@ $(OBJECTS) $(LDFLAGS)
endif
cp ./$(TARGET) ./$(ALTTARGET)
@echo "** BUILD SUCCESSFUL! GG NO RE **"
%.o: %.c