This repository was archived by the owner on Dec 21, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 13
This repository was archived by the owner on Dec 21, 2025. It is now read-only.
Fails with macOS/BSD make 3.81 #29
Copy link
Copy link
Open
Description
% type make
make is /usr/bin/make
% make --version
GNU Make 3.81
% make RGBDS=../../
Makefile:64: obj/intro.mk: No such file or directory
Makefile:64: obj/lib/bank_numbers.mk: No such file or directory
Makefile:64: obj/lib/build_date.mk: No such file or directory
Makefile:64: obj/lib/crash_handler.mk: No such file or directory
Makefile:64: obj/lib/header.mk: No such file or directory
Makefile:64: obj/lib/memcpy_memset.mk: No such file or directory
Makefile:64: obj/lib/misc.mk: No such file or directory
Makefile:64: obj/lib/sgb.mk: No such file or directory
Makefile:64: obj/lib/unpb16.mk: No such file or directory
Makefile:64: obj/lib/vblank.mk: No such file or directory
rgbasm -p 0xFF -Isrc/ -Iinclude/ -Wall -Wextra -o obj/lib/vblank.o src/lib/vblank.asm \
-M obj/lib/vblank.mk -MG -MP -MQ obj/lib/vblank.o -MQ obj/lib/vblank.mk
rgbasm -p 0xFF -Isrc/ -Iinclude/ -Wall -Wextra -o obj/lib/unpb16.o src/lib/unpb16.asm \
-M obj/lib/unpb16.mk -MG -MP -MQ obj/lib/unpb16.o -MQ obj/lib/unpb16.mk
rgbasm -p 0xFF -Isrc/ -Iinclude/ -Wall -Wextra -o obj/lib/sgb.o src/lib/sgb.asm \
-M obj/lib/sgb.mk -MG -MP -MQ obj/lib/sgb.o -MQ obj/lib/sgb.mk
rgbasm -p 0xFF -Isrc/ -Iinclude/ -Wall -Wextra -o obj/lib/misc.o src/lib/misc.asm \
-M obj/lib/misc.mk -MG -MP -MQ obj/lib/misc.o -MQ obj/lib/misc.mk
rgbasm -p 0xFF -Isrc/ -Iinclude/ -Wall -Wextra -o obj/lib/memcpy_memset.o src/lib/memcpy_memset.asm \
-M obj/lib/memcpy_memset.mk -MG -MP -MQ obj/lib/memcpy_memset.o -MQ obj/lib/memcpy_memset.mk
rgbasm -p 0xFF -Isrc/ -Iinclude/ -Wall -Wextra -o obj/lib/header.o src/lib/header.asm \
-M obj/lib/header.mk -MG -MP -MQ obj/lib/header.o -MQ obj/lib/header.mk
warning: src/lib/header.asm(57): [-Wuser]
Edit to set palettes here
rgbasm -p 0xFF -Isrc/ -Iinclude/ -Wall -Wextra -o obj/lib/crash_handler.o src/lib/crash_handler.asm \
-M obj/lib/crash_handler.mk -MG -MP -MQ obj/lib/crash_handler.o -MQ obj/lib/crash_handler.mk
rgbasm -p 0xFF -Isrc/ -Iinclude/ -Wall -Wextra -o obj/lib/build_date.o src/lib/build_date.asm \
-M obj/lib/build_date.mk -MG -MP -MQ obj/lib/build_date.o -MQ obj/lib/build_date.mk
rgbasm -p 0xFF -Isrc/ -Iinclude/ -Wall -Wextra -o obj/lib/bank_numbers.o src/lib/bank_numbers.asm \
-M obj/lib/bank_numbers.mk -MG -MP -MQ obj/lib/bank_numbers.o -MQ obj/lib/bank_numbers.mk
rgbasm -p 0xFF -Isrc/ -Iinclude/ -Wall -Wextra -o obj/intro.o src/intro.asm \
-M obj/intro.mk -MG -MP -MQ obj/intro.o -MQ obj/intro.mk
rgbgfx -d 1 -o assets/crash_font.1bpp src/assets/crash_font.png
printf 'def NB_PB8_BLOCKS equ ((%u) + 7) / 8\n' \
"$(wc -c <assets/crash_font.1bpp)" >assets/crash_font.1bpp.pb8.size
rgbasm -p 0xFF -Isrc/ -Iinclude/ -Wall -Wextra -o obj/lib/build_date.o src/lib/build_date.asm
rgblink -p 0xFF -m bin/boilerplate.map.tmp obj/intro.o obj/lib/bank_numbers.o obj/lib/build_date.o obj/lib/crash_handler.o obj/lib/header.o obj/lib/memcpy_memset.o obj/lib/misc.o obj/lib/sgb.o obj/lib/unpb16.o obj/lib/vblank.o
FATAL: Failed to open file "obj/lib/crash_handler.o": No such file or directory
Linking aborted with 1 error
make: *** [bin/boilerplate.gb] Error 1
rm assets/crash_font.1bppUsing gmake (from Macports or Homebrew) works:
% type gmake
gmake is /opt/local/bin/gmake
% gmake --version
GNU Make 4.4.1
Built for x86_64-apple-darwin20.6.0
Copyright (C) 1988-2023 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels