diff options
Diffstat (limited to 'rbutil/jztool/Makefile')
-rw-r--r-- | rbutil/jztool/Makefile | 8 |
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 | ||
8 | CFLAGS += -Wall -Wextra -Iinclude | 8 | CFLAGS += -Wall -Wextra -Iinclude -I../../tools/ucl/include -I../../lib/microtar/src |
9 | OUTPUT = jztool | 9 | OUTPUT = jztool |
10 | 10 | ||
11 | ifdef RELEASE | 11 | ifdef RELEASE |
@@ -15,10 +15,9 @@ CFLAGS += -O0 -ggdb | |||
15 | endif | 15 | endif |
16 | 16 | ||
17 | LIBSOURCES := src/buffer.c src/context.c src/device_info.c \ | 17 | LIBSOURCES := 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 | ||
20 | SOURCES := $(LIBSOURCES) jztool.c | 19 | SOURCES := $(LIBSOURCES) jztool.c |
21 | EXTRADEPS := | 20 | EXTRADEPS := libucl.a libmicrotar.a |
22 | 21 | ||
23 | CPPDEFINES := $(shell echo foo | $(CROSS)$(CC) -dM -E -) | 22 | CPPDEFINES := $(shell echo foo | $(CROSS)$(CC) -dM -E -) |
24 | 23 | ||
@@ -27,6 +26,7 @@ ifeq ($(findstring WIN32,$(CPPDEFINES)),WIN32) | |||
27 | else | 26 | else |
28 | ifeq ($(findstring APPLE,$(CPPDEFINES)),APPLE) | 27 | ifeq ($(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! | ||
30 | CFLAGS += -I/usr/local/include -I/opt/homebrew/include | 30 | CFLAGS += -I/usr/local/include -I/opt/homebrew/include |
31 | LDOPTS += -L/usr/local/lib -L/opt/homebrew/lib -lusb-1.0 | 31 | LDOPTS += -L/usr/local/lib -L/opt/homebrew/lib -lusb-1.0 |
32 | else | 32 | else |