aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortwinaphex2020-05-18 13:25:26 +0200
committertwinaphex2020-05-18 13:25:26 +0200
commitbb2adb46f647bcf37f1c10b7e39a10c7376cb226 (patch)
tree02881dcaf698282a4e3ddaa87cc9ea21758fb75d
parentc216559b9e0dc3d7f059dcf31b813402ad47fea5 (diff)
downloadsnes9x2005-bb2adb46f647bcf37f1c10b7e39a10c7376cb226.tar.gz
snes9x2005-bb2adb46f647bcf37f1c10b7e39a10c7376cb226.tar.bz2
snes9x2005-bb2adb46f647bcf37f1c10b7e39a10c7376cb226.zip
Update
-rw-r--r--Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index f1fe820..3afc814 100644
--- a/Makefile
+++ b/Makefile
@@ -557,6 +557,10 @@ else
endif
else ifneq ($(platform),genode)
LD = $(CC)
+else
+ OBJOUT = -o
+ LINKOUT = -o
+ LD = $(CC)
endif
%.o: %.cpp
@@ -576,7 +580,7 @@ $(TARGET): $(OBJECTS)
ifeq ($(STATIC_LINKING), 1)
$(AR) rcs $@ $(OBJECTS)
else
- $(LD) $(fpic) $(SHARED) $(LINKOUT)$@ $(OBJECTS) $(LDFLAGS) $(LIBS)
+ $(LD) $(fpic) $(SHARED) $(INCFLAGS) $(LDFLAGS) $(OBJOUT) $@ $(OBJECTS) $(LIBS)
endif
clean: