I have been working on a game using SDL 2, and tried to compile for the zero.. It's a little confusing.
Would someone help show me how to form a proper makefile for the Zero.
The makefile so far.
OBJS = mainfile.cpp files/Texturefile.cpp files/mixer.cpp
CC = g++
Z = /opt/gcw0-toolchain/usr/bin/mipsel-linux-g++
COMPILER_FLAGS = -w
LINKER_FLAGS = -lSDL2 -lSDL2_image -lSDL2_mixer
OBJ_NAME = JR
all : $(OBJS)
$(Z) $(OBJS) $(COMPILER_FLAGS) $(LINKER_FLAGS) -o $(OBJ_NAME)
Works with ubuntu. When I run it from the zero it just says "Permission denied"