summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorBryan Hoyle <starfoxprime@gmail.com>2011-08-24 00:28:55 (GMT)
committer Bryan Hoyle <starfoxprime@gmail.com>2011-08-24 00:28:55 (GMT)
commitf577c319db982e6b3d3b3731f1980c89182da982 (patch)
treebba8666efd304f70392a5659c4b84107008f1ea9 /Makefile
parent03ee03ed1e735352082fa35a06444bbf389bf9c6 (diff)
downloadpowder-f577c319db982e6b3d3b3731f1980c89182da982.zip
powder-f577c319db982e6b3d3b3731f1980c89182da982.tar.gz
Working tpt.getscriptid(<string: id>). Retrieves and runs a script from online
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 4a77ce0..399f6d6 100644
--- a/Makefile
+++ b/Makefile
@@ -7,7 +7,7 @@ PY_INCPATH := $(shell $(PY_BIN) -c "import os.path,sys;print os.path.join(sys.ex
PY_LDFLAGS := $(shell $(PY_BIN) -c "import distutils.sysconfig;print distutils.sysconfig.get_config_var('LINKFORSHARED')")
PYCOMMAND := $(PY_BIN) getheader.py
-CFLAGS := -w -std=c99 -D_POSIX_C_SOURCE=200112L -DLUACONSOLE -DGRAVFFT -Iincludes/
+CFLAGS := -w -std=c99 -D_POSIX_C_SOURCE=200112L -DLUACONSOLE -DGRAVFFT -Iincludes/ -D_GNU_SOURCE
OFLAGS := -O3 -ffast-math -ftree-vectorize -funsafe-math-optimizations
LFLAGS := -lpthread -lSDL -lfftw3f -lm -lbz2 -lX11 -llua5.1 #-lpython$(PY_VERSION) -L$(PY_LIBPATH) -I$(PY_INCPATH) $(PY_LDFLAGS)
LFLAGS_X := -lm -lbz2 -lSDLmain -I/Library/Frameworks/Python.framework/Versions/$(PY_VERSION)/include/python$(PY_VERSION)