summaryrefslogtreecommitdiffstatshomepage
path: root/makefile
diff options
context:
space:
mode:
author R. Belmont <rb6502@users.noreply.github.com>2010-03-02 04:26:48 +0000
committer R. Belmont <rb6502@users.noreply.github.com>2010-03-02 04:26:48 +0000
commitbeeffeb5e79b246c1f0c67ad795a6d3f711281c6 (patch)
tree1423e9f391d2c4a8b5643d9bc1758d1ee6d92e66 /makefile
parent396b49bf1b8d325abb489775f2aae0addb59add5 (diff)
Add MAME-ified version of SoftFloat library [John R. Hauser]
As previously discussed, this will be used for the MC680x0 FPU in order to handle high-precision floats portably. The license is included in README.txt and is MAME compatible.
Diffstat (limited to 'makefile')
-rw-r--r--makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/makefile b/makefile
index cfb4138ea0c..e787814d41e 100644
--- a/makefile
+++ b/makefile
@@ -566,7 +566,8 @@ LIBS += -lz
ZLIB =
endif
-
+# add SoftFloat floating point emulation library
+SOFTFLOAT = $(OBJ)/libsoftfloat.a
#-------------------------------------------------
# 'default' target needs to go here, before the
@@ -656,9 +657,9 @@ $(sort $(OBJDIRS)):
ifndef EXECUTABLE_DEFINED
# always recompile the version string
-$(VERSIONOBJ): $(DRVLIBS) $(LIBOSD) $(LIBEMU) $(LIBCPU) $(LIBSOUND) $(LIBUTIL) $(EXPAT) $(ZLIB) $(LIBOCORE) $(RESFILE)
+$(VERSIONOBJ): $(DRVLIBS) $(LIBOSD) $(LIBEMU) $(LIBCPU) $(LIBSOUND) $(LIBUTIL) $(EXPAT) $(ZLIB) $(SOFTFLOAT) $(LIBOCORE) $(RESFILE)
-$(EMULATOR): $(VERSIONOBJ) $(DRVLIBS) $(LIBOSD) $(LIBEMU) $(LIBCPU) $(LIBDASM) $(LIBSOUND) $(LIBUTIL) $(EXPAT) $(ZLIB) $(LIBOCORE) $(RESFILE)
+$(EMULATOR): $(VERSIONOBJ) $(DRVLIBS) $(LIBOSD) $(LIBEMU) $(LIBCPU) $(LIBDASM) $(LIBSOUND) $(LIBUTIL) $(EXPAT) $(SOFTFLOAT) $(ZLIB) $(LIBOCORE) $(RESFILE)
@echo Linking $@...
$(LD) $(LDFLAGS) $(LDFLAGSEMULATOR) $^ $(LIBS) -o $@