git.y1.nz

SameBoy

Accurate GB/GBC emulator
download: https://git.y1.nz/archives/sameboy.tar.gz
README | Files | Log | Refs | LICENSE

commit f54bfae01f557a5aae78ee4ece0b357e9dd8d994
parent c40221abb628ac66d1adebb7e48f312846a3f88f
Author: Lior Halphon <LIJI32@gmail.com>
Date:   Wed, 23 Jul 2025 00:18:51 +0300

Make headers a target

Diffstat:
MMakefile5+++--
1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/Makefile b/Makefile @@ -115,7 +115,7 @@ PKGCONF_DIR := $(LIBDIR)/pkgconfig PKGCONF_FILE := $(PKGCONF_DIR)/sameboy.pc ifneq ($(CORE_FILTER)$(DISABLE_TIMEKEEPING),) -ifneq ($(filter-out lib $(LIBDIR)/% $(INC)/%,$(MAKECMDGOALS)),) +ifneq ($(filter-out lib headers $(LIBDIR)/% $(INC)/%,$(MAKECMDGOALS)),) $(error SameBoy features can only be disabled when compiling the 'lib' target) endif endif @@ -437,7 +437,8 @@ SDL_OBJECTS := $(patsubst %,$(OBJ)/%.o,$(SDL_SOURCES)) TESTER_OBJECTS := $(patsubst %,$(OBJ)/%.o,$(TESTER_SOURCES)) XDG_THUMBNAILER_OBJECTS := $(patsubst %,$(OBJ)/%.o,$(XDG_THUMBNAILER_SOURCES)) $(OBJ)/XdgThumbnailer/resources.c.o -lib: $(PUBLIC_HEADERS) +lib: headers +headers: $(PUBLIC_HEADERS) # Automatic dependency generation

This webpage is intended to be an accessible preview of this repository. To get a fuller picture, clone it and use the git CLI.