diff options
author | twinaphex | 2018-02-21 13:49:45 +0100 |
---|---|---|
committer | twinaphex | 2018-02-21 13:49:45 +0100 |
commit | ea4775801b424594e309a3413815b67cc53d6ac1 (patch) | |
tree | 8b4e8b427cfca7128c8058da25591046ecb8da98 /Makefile | |
parent | b2859c8e0d5a7799058de685451ab8257d61ddcb (diff) | |
download | snes9x2005-ea4775801b424594e309a3413815b67cc53d6ac1.tar.gz snes9x2005-ea4775801b424594e309a3413815b67cc53d6ac1.tar.bz2 snes9x2005-ea4775801b424594e309a3413815b67cc53d6ac1.zip |
Update for MSVC
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -47,7 +47,13 @@ ifneq ($(GIT_VERSION)," unknown") endif DEFS := +ifneq (,$(findstring msvc,$(platform))) +LIBM := +else LIBM := -lm +endif +LDFLAGS := +LIBS := ifeq ($(platform), unix) TARGET := $(TARGET_NAME)_libretro.so @@ -350,7 +356,7 @@ $(TARGET): $(OBJECTS) ifeq ($(STATIC_LINKING), 1) $(AR) rcs $@ $(OBJECTS) else - $(CC) $(LINKOUT)$@ $(OBJECTS) $(LDFLAGS) + $(CC) $(LINKOUT)$@ $(OBJECTS) $(LDFLAGS) $(LIBS) endif clean: |