summaryrefslogtreecommitdiff
path: root/rbutil/jztool/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'rbutil/jztool/Makefile')
-rw-r--r--rbutil/jztool/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/rbutil/jztool/Makefile b/rbutil/jztool/Makefile
index 6ab990d9d8..bc2724ef59 100644
--- a/rbutil/jztool/Makefile
+++ b/rbutil/jztool/Makefile
@@ -5,7 +5,7 @@
5# Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \ 5# Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
6# \/ \/ \/ \/ \/ 6# \/ \/ \/ \/ \/
7 7
8CFLAGS += -Wall -Wextra -Iinclude 8CFLAGS += -Wall -Wextra -Iinclude -I../../tools/ucl/include -I../../lib/microtar/src
9OUTPUT = jztool 9OUTPUT = jztool
10 10
11ifdef RELEASE 11ifdef RELEASE
@@ -15,10 +15,9 @@ CFLAGS += -O0 -ggdb
15endif 15endif
16 16
17LIBSOURCES := src/buffer.c src/context.c src/device_info.c \ 17LIBSOURCES := src/buffer.c src/context.c src/device_info.c \
18 src/fiiom3k.c src/identify_file.c src/paramlist.c \ 18 src/identify_file.c src/fiiom3k.c src/usb.c
19 src/usb.c src/x1000.c
20SOURCES := $(LIBSOURCES) jztool.c 19SOURCES := $(LIBSOURCES) jztool.c
21EXTRADEPS := 20EXTRADEPS := libucl.a libmicrotar.a
22 21
23CPPDEFINES := $(shell echo foo | $(CROSS)$(CC) -dM -E -) 22CPPDEFINES := $(shell echo foo | $(CROSS)$(CC) -dM -E -)
24 23
@@ -27,6 +26,7 @@ ifeq ($(findstring WIN32,$(CPPDEFINES)),WIN32)
27else 26else
28ifeq ($(findstring APPLE,$(CPPDEFINES)),APPLE) 27ifeq ($(findstring APPLE,$(CPPDEFINES)),APPLE)
29# OSX -- /opt location is cheesy attempt to support ARM macs 28# OSX -- /opt location is cheesy attempt to support ARM macs
29# COMPLETELY UNTESTED, testing from someone with an actual Mac is appreciated!
30CFLAGS += -I/usr/local/include -I/opt/homebrew/include 30CFLAGS += -I/usr/local/include -I/opt/homebrew/include
31LDOPTS += -L/usr/local/lib -L/opt/homebrew/lib -lusb-1.0 31LDOPTS += -L/usr/local/lib -L/opt/homebrew/lib -lusb-1.0
32else 32else