mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-20 10:12:06 +00:00
Explicitly specify which files build with PNGCFLAGS (#1201)
This commit is contained in:
20
Makefile
20
Makefile
@@ -162,11 +162,29 @@ src/asm/parser.c: src/asm/parser.y
|
|||||||
echo "DEFS=$$DEFS"; \
|
echo "DEFS=$$DEFS"; \
|
||||||
${BISON} $$DEFS -d ${YFLAGS} -o $@ $<
|
${BISON} $$DEFS -d ${YFLAGS} -o $@ $<
|
||||||
|
|
||||||
|
# Only RGBGFX uses libpng (POSIX make doesn't support pattern rules to cover all these)
|
||||||
|
src/gfx/main.o: src/gfx/main.cpp
|
||||||
|
$Q${CXX} ${REALCXXFLAGS} -c -o $@ $<
|
||||||
|
src/gfx/pal_packing.o: src/gfx/pal_packing.cpp
|
||||||
|
$Q${CXX} ${REALCXXFLAGS} -c -o $@ $<
|
||||||
|
src/gfx/pal_sorting.o: src/gfx/pal_sorting.cpp
|
||||||
|
$Q${CXX} ${REALCXXFLAGS} -c -o $@ $<
|
||||||
|
src/gfx/pal_spec.o: src/gfx/pal_spec.cpp
|
||||||
|
$Q${CXX} ${REALCXXFLAGS} -c -o $@ $<
|
||||||
|
src/gfx/process.o: src/gfx/process.cpp
|
||||||
|
$Q${CXX} ${REALCXXFLAGS} -c -o $@ $<
|
||||||
|
src/gfx/proto_palette.o: src/gfx/proto_palette.cpp
|
||||||
|
$Q${CXX} ${REALCXXFLAGS} -c -o $@ $<
|
||||||
|
src/gfx/reverse.o: src/gfx/reverse.cpp
|
||||||
|
$Q${CXX} ${REALCXXFLAGS} -c -o $@ $<
|
||||||
|
src/gfx/rgba.o: src/gfx/rgba.cpp
|
||||||
|
$Q${CXX} ${REALCXXFLAGS} -c -o $@ $<
|
||||||
|
|
||||||
.c.o:
|
.c.o:
|
||||||
$Q${CC} ${REALCFLAGS} -c -o $@ $<
|
$Q${CC} ${REALCFLAGS} -c -o $@ $<
|
||||||
|
|
||||||
.cpp.o:
|
.cpp.o:
|
||||||
$Q${CXX} ${REALCXXFLAGS} ${PNGCFLAGS} -c -o $@ $<
|
$Q${CXX} ${REALCXXFLAGS} -c -o $@ $<
|
||||||
|
|
||||||
# Target used to remove all files generated by other Makefile targets
|
# Target used to remove all files generated by other Makefile targets
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user