diff options
| author | John Wilbert M. Villamor <lameguy64@gmail.com> | 2019-04-06 10:11:07 +0800 |
|---|---|---|
| committer | John Wilbert M. Villamor <lameguy64@gmail.com> | 2019-04-06 10:11:07 +0800 |
| commit | f3e040230772f978540a71aea43dfde200992922 (patch) | |
| tree | bd8ca31b72dd01e24980b073854e263589530f56 /examples/sdk-common.mk | |
| download | psn00bsdk-f3e040230772f978540a71aea43dfde200992922.tar.gz | |
First commit
Diffstat (limited to 'examples/sdk-common.mk')
| -rw-r--r-- | examples/sdk-common.mk | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/examples/sdk-common.mk b/examples/sdk-common.mk new file mode 100644 index 0000000..8a92dbf --- /dev/null +++ b/examples/sdk-common.mk @@ -0,0 +1,19 @@ +# Adjustable common makefile values for PSn00bSDK example programs. +# You may need to modify these values to correspond to your toolchain setup. + +# Toolchain prefix. Can include an absolute path to the toolchain executables. +PREFIX = mipsel-unknown-elf- + +# Include directories. +INCLUDE = -I../../libpsn00b/include + +# Library directories. Last entry must point to a directory containing libgcc. +LIBDIRS = -L../../libpsn00b +# Directory path for toolchain's libraries (you may need to change this) +ifeq "$(OS)" "Windows_NT" +# For Windows +LIBDIRS += -L/c/psn00bsdk/lib +else +# For Linux/BSDs +LIBDIRS += -L/usr/local/mipsel-unknown-elf/lib/gcc/mipsel-unknown-elf/6.3.0 +endif |
