diff options
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,6 +1,6 @@ SOURCES := src/*.c src/elements/*.c -PY_BIN := python2 +PY_BIN := python PY_VERSION := $(shell $(PY_BIN) -c "import sys;print sys.version[:3]") PY_LIBPATH := $(shell $(PY_BIN) -c "import os.path,sys;print os.path.join(sys.exec_prefix,\"lib\",\"python%s\"%sys.version[:3],\"config\")") PY_INCPATH := $(shell $(PY_BIN) -c "import os.path,sys;print os.path.join(sys.exec_prefix,\"include\",\"python%s\"%sys.version[:3])") @@ -95,4 +95,4 @@ powder-x-ogl: $(SOURCES) $(PYCOMMAND) --64bit gcc -o $@ $(CFLAGS) $(OFLAGS) $(LFLAGS_X) $(MFLAGS) $(SOURCES) -DOpenGL -DMACOSX -DPIX32BGRA -arch x86_64 -framework Cocoa -framework SDL -framework OpenGL -framework Python strip $@ - mv $@ build
\ No newline at end of file + mv $@ build |
