aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
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