# Adjustable common makefile values for PSn00bSDK example programs. # You may need to modify these values to match with your toolchain setup. # Toolchain prefix PREFIX = mipsel-unknown-elf- # Include directories INCLUDE = -I../../libpsn00b/include # Library directories, last entry must point toolchain libraries LIBDIRS = -L../../libpsn00b GCC_VERSION = 7.4.0 ifeq "$(OS)" "Windows_NT" # For Windows GCC_BASE = /c/mipsel-unknown-elf else # For Linux/BSDs GCC_BASE = /usr/local/mipsel-unknown-elf endif LIBDIRS += -L$(GCC_BASE)/lib/gcc/mipsel-unknown-elf/$(GCC_VERSION) INCLUDE += -I$(GCC_BASE)/lib/gcc/mipsel-unknown-elf/$(GCC_VERSION)/include