From 97d1c4246e167ab493175d890409c4154628760c Mon Sep 17 00:00:00 2001 From: Bad Diode Date: Sat, 22 May 2021 23:17:50 +0200 Subject: Include bin2carr on the tools directory --- Makefile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 89f64a2..d91466d 100644 --- a/Makefile +++ b/Makefile @@ -52,10 +52,10 @@ else CFLAGS += $(RELEASE_CFLAGS) endif -main: $(BUILD_DIR) $(ROM) $(BIN) +main: tools $(BUILD_DIR) $(ROM) $(BIN) $(ROM): - ../tools/bin2carr/build/bin2carr $(ROM_SRC) \ + ./tools/bin2carr/build/bin2carr $(ROM_SRC) \ -n uxn_rom \ -e u16 \ -o $(ROM) @@ -81,3 +81,6 @@ run: main clean: rm $(ROM) rm -r $(BUILD_DIR) + +tools: + make -C tools/bin2carr -- cgit v1.2.1