From cc22df198d0ccb64dfdfe0c2f247f7d86b7fd750 Mon Sep 17 00:00:00 2001 From: Aidan MacDonald Date: Tue, 11 May 2021 13:25:26 +0100 Subject: jztool: Support new M3K bootloader Change-Id: Ia2d96893a9a5c77deb71c1fe32ae5a0585093f5b --- rbutil/jztool/Makefile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'rbutil/jztool/Makefile') 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 @@ # Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \ # \/ \/ \/ \/ \/ -CFLAGS += -Wall -Wextra -Iinclude +CFLAGS += -Wall -Wextra -Iinclude -I../../tools/ucl/include -I../../lib/microtar/src OUTPUT = jztool ifdef RELEASE @@ -15,10 +15,9 @@ CFLAGS += -O0 -ggdb endif LIBSOURCES := src/buffer.c src/context.c src/device_info.c \ - src/fiiom3k.c src/identify_file.c src/paramlist.c \ - src/usb.c src/x1000.c + src/identify_file.c src/fiiom3k.c src/usb.c SOURCES := $(LIBSOURCES) jztool.c -EXTRADEPS := +EXTRADEPS := libucl.a libmicrotar.a CPPDEFINES := $(shell echo foo | $(CROSS)$(CC) -dM -E -) @@ -27,6 +26,7 @@ ifeq ($(findstring WIN32,$(CPPDEFINES)),WIN32) else ifeq ($(findstring APPLE,$(CPPDEFINES)),APPLE) # OSX -- /opt location is cheesy attempt to support ARM macs +# COMPLETELY UNTESTED, testing from someone with an actual Mac is appreciated! CFLAGS += -I/usr/local/include -I/opt/homebrew/include LDOPTS += -L/usr/local/lib -L/opt/homebrew/lib -lusb-1.0 else -- cgit v1.2.3