From 3ef0276b2a3700ca5ac2d137c723b8374b8743f1 Mon Sep 17 00:00:00 2001 From: Themaister Date: Mon, 7 Mar 2011 20:17:27 +0100 Subject: [PATCH] Will probably not need, but hey. --- Makefile | 2 +- Makefile.win32 | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index b8cb007756..410490ce31 100644 --- a/Makefile +++ b/Makefile @@ -6,7 +6,7 @@ OBJ = ssnes.o file.o driver.o settings.o dynamic.o message.o rewind.o movie.o au JOYCONFIG_OBJ = tools/ssnes-joyconfig.o conf/config_file.o HEADERS = $(wildcard */*.h) $(wildcard *.h) -LIBS = +LIBS = -lm DEFINES = -DHAVE_CONFIG_H ifneq ($(findstring Darwin,$(shell uname -a)),) diff --git a/Makefile.win32 b/Makefile.win32 index 0b6be7211c..0a58f76bdc 100644 --- a/Makefile.win32 +++ b/Makefile.win32 @@ -15,7 +15,7 @@ HAVE_RSOUND = 1 HAVE_FILTER = 1 libsnes ?= -lsnes -LIBS = -lws2_32 +LIBS = -lws2_32 -lm DEFINES = -I. -DHAVE_CONFIGFILE LDFLAGS = -L. -static-libgcc -s