summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFelix Wallin <nibbler.v1@gmail.com>2010-11-03 10:50:48 (GMT)
committer Felix Wallin <nibbler.v1@gmail.com>2010-11-03 10:50:48 (GMT)
commit175b37d23944be2c4c5928476e67d380d5920461 (patch)
tree9255de2e961868e876d831a404f9b7c79d2050e0
parent79a36b526d4e5365727aff5c2bcda225a53bf5d6 (diff)
downloadpowder-175b37d23944be2c4c5928476e67d380d5920461.zip
powder-175b37d23944be2c4c5928476e67d380d5920461.tar.gz
added debug flag
-rwxr-xr-xMakefile2
-rw-r--r--src/main.c3
2 files changed, 2 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index b2412ca..eca90db 100755
--- a/Makefile
+++ b/Makefile
@@ -6,7 +6,7 @@ LFLAGS := -lSDL -lm -lbz2
MFLAGS_SSE3 := -march=native -DX86 -DX86_SSE3 -msse3
MFLAGS_SSE2 := -march=native-DX86 -DX86_SSE2 -msse2
MFLAGS_SSE := -march=native -DX86 -DX86_SSE
-FLAGS_DBUG := -Wall -std=c99 -D_POSIX_C_SOURCE=200112L -pg -DX86 -DX86_SSE3 -msse3 -lSDL -lm -lbz2
+FLAGS_DBUG := -Wall -std=c99 -D_POSIX_C_SOURCE=200112L -pg -DX86 -DX86_SSE3 -msse3 -lSDL -lm -lbz2 -g
COMPILER := gcc
LINUX_TARG := powder-64-sse2 powder-sse powder-sse2
WIN32_TARG := powder-sse.exe powder-sse2.exe
diff --git a/src/main.c b/src/main.c
index 5ef9ce3..dd6a02a 100644
--- a/src/main.c
+++ b/src/main.c
@@ -21,7 +21,6 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA
*/
-
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
@@ -29,7 +28,7 @@
#include <SDL/SDL.h>
#include <bzlib.h>
#include <time.h>
-
+#include <sdvsd.h>
#ifdef WIN32
#include <direct.h>
#else