mirror of
https://github.com/gbdev/rgbds.git
synced 2025-12-03 08:17:47 +00:00
Don't delete script.cpp after building (#1272)
Ensure consistency in linker script parser interface Make the declaration and definition visible when compiling so that the compiler can warn about inconsistencies. Co-authored-by: ISSOtm <me@eldred.fr>
This commit is contained in:
4
Makefile
4
Makefile
@@ -94,6 +94,8 @@ rgblink_obj := \
|
||||
src/opmath.o \
|
||||
src/util.o
|
||||
|
||||
src/link/main.o: src/link/script.hpp
|
||||
|
||||
rgbfix_obj := \
|
||||
src/fix/main.o \
|
||||
src/extern/getopt.o \
|
||||
@@ -140,6 +142,8 @@ test/gfx/rgbgfx_test: test/gfx/rgbgfx_test.cpp
|
||||
# Bison-generated C++ files have an accompanying header
|
||||
src/asm/parser.hpp: src/asm/parser.cpp
|
||||
$Qtouch $@
|
||||
src/link/script.hpp: src/link/script.cpp
|
||||
$Qtouch $@
|
||||
|
||||
# Only RGBGFX uses libpng (POSIX make doesn't support pattern rules to cover all these)
|
||||
src/gfx/main.o: src/gfx/main.cpp
|
||||
|
||||
Reference in New Issue
Block a user