aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorJohn Wilbert M. Villamor <lameguy64@gmail.com>2019-07-17 11:30:07 +0800
committerJohn Wilbert M. Villamor <lameguy64@gmail.com>2019-07-17 11:30:07 +0800
commit0d4345a9bf2623df079c50a3bc73cbb7deca1176 (patch)
tree6cda70b844f39fc2d65a806b91a6010066433b56 /tools
parentb956c5391b955e793a4d54572aa58872b4c66c30 (diff)
downloadpsn00bsdk-0d4345a9bf2623df079c50a3bc73cbb7deca1176.tar.gz
Added C++ support, updated build instructions and makefiles, consolidated libc and libgcc (during build process), libraries now v0.12b and more
Diffstat (limited to 'tools')
-rw-r--r--tools/smxlink/makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/tools/smxlink/makefile b/tools/smxlink/makefile
index b50fd26..ff759b1 100644
--- a/tools/smxlink/makefile
+++ b/tools/smxlink/makefile
@@ -4,6 +4,8 @@ CPPFILES = main.cpp timreader.cpp
CFLAGS = -O2
LDFLAGS = -s
+INCLUDE =
+LIBDIRS =
LIBS = -ltinyxml2
CC = gcc
@@ -13,9 +15,10 @@ OFILES = $(addprefix build/,$(CPPFILES:.cpp=.o))
ifeq "$(OS)" "Windows_NT"
-# Config for Windows
+# Config for Windows (comment out if in msys2)
INCLUDE = -I/c/tinyxml2
LIBDIRS = -L/c/tinyxml2
+
TARGET := $(TARGET).exe
else