1 ifeq ($(STATIC_LINKING), 1)
2 TARGET = $(TARGET_NAME)_libretro_$(platform).a
4 TARGET = $(TARGET_NAME)_libretro$(SOEXT)
14 OBJS = $(SOURCES_C:.c=$(OBJEXT)) $(SOURCES_CXX:.cpp=$(OBJEXT)) $(SOURCES_ASM:.S=$(OBJEXT))
16 ifneq (,$(findstring msvc,$(platform)))
25 $(CXX) -c $(OBJOUT)$@ $< $(INCFLAGS) $(CXXFLAGS)
28 $(CC) -c $(OBJOUT)$@ $< $(INCFLAGS) $(CFLAGS)
31 $(CC) -c $(OBJOUT)$@ $< $(INCFLAGS) $(CFLAGS)
35 $(TARGET): $(HEADERS) $(OBJS)
36 ifeq ($(STATIC_LINKING), 1)
39 $(LD) $(LINKOUT)$@ $(OBJS) $(LDFLAGS)
48 .PHONY: clean-objs clean dist-clean FORCE