@@ -33,14 +33,14 @@ TARGET := $(notdir $(CURDIR))
3333BUILD := build
3434PY_BUILD := python_build
3535DIST_DIR := $(BUILD ) /$(TARGET )
36- LIBDIR := $(DIST_DIR ) /lib/python2.7
36+ LIBDIR := $(DIST_DIR ) /lib/python3.5
3737SOURCES := source
3838DATA := data
3939INCLUDES := include
4040EXEFS_SRC := exefs_src
4141APP_TITLEID := Pynx
4242APP_AUTHOR := nx-python Authors, Python Software Foundation
43- APP_VERSION := 0.1 .0-alpha
43+ APP_VERSION := 0.2 .0-alpha
4444
4545# ---------------------------------------------------------------------------------
4646# options for code generation
@@ -57,13 +57,13 @@ CXXFLAGS := $(CFLAGS) -fno-rtti -fno-exceptions -std=gnu++11
5757ASFLAGS := -g $(ARCH )
5858LDFLAGS = -specs=$(DEVKITPRO ) /libnx/switch.specs -g $(ARCH ) -Wl,-Map,$(notdir $* .map)
5959
60- LIBS := -lpython2.7 -lm -lnx
60+ LIBS := -lpython3.5 -lm -lnx
6161
6262# ---------------------------------------------------------------------------------
6363# list of directories containing libraries, this must be the top level containing
6464# include and lib
6565# ---------------------------------------------------------------------------------
66- NXPY := $(CURDIR ) /python_build/nxpy2.7.12
66+ NXPY := $(CURDIR ) /python_build/nxpy3.5.3
6767LIBDIRS := $(PORTLIBS ) $(LIBNX ) $(NXPY )
6868
6969
@@ -151,7 +151,7 @@ cpython:
151151
152152dist : $(BUILD )
153153 mkdir -p $(LIBDIR )
154- unzip $(PY_BUILD ) /nxpy2.7.12 /python.zip -d $(LIBDIR )
154+ unzip $(PY_BUILD ) /nxpy3.5.3 /python.zip -d $(LIBDIR )
155155 cp $(OUTPUT ) .{nro,nacp} $(DIST_DIR ) /
156156 cp examples/hello.py $(DIST_DIR ) /main.py
157157 cd $(BUILD ) && zip -r $(TARGET ) -$(APP_VERSION ) .zip $(TARGET )
0 commit comments