mirror of
https://github.com/glennrp/libpng.git
synced 2025-08-09 00:22:10 +03:00
build: Update scripts/makefile.*
Apply the following updates: * Tidy up the compiler flag definitions. * Update the Darwin, Linux and MSYS makefiles to match the compiler flags used in scripts/makefile.clang and scripts/makefile.gcc. * Add the `pngtest-static` target in the Darwin makefile, following on the Linux makefile. * Rewrite some of the implicit make rules to match one another more consistently. * Make corrections in the copyright years to match git log.
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
# makefile for libpng
|
||||
# Copyright (C) 2020-2022 Cosmin Truta
|
||||
# Copyright (C) 2018-2025 Cosmin Truta
|
||||
# Copyright (C) 2007-2009, 2014 Glenn Randers-Pehrson
|
||||
# Copyright (C) 1995 Guy Eric Schalnat, Group 42, Inc.
|
||||
#
|
||||
@@ -26,7 +26,7 @@ CLEANFILES+= pngtest.o pngtest pnglibconf.h
|
||||
PNGLIBCONF_H_PREBUILT= scripts/pnglibconf.h.prebuilt
|
||||
|
||||
.c.o:
|
||||
${CC} -c ${CPPFLAGS} ${CFLAGS} -o $@ $<
|
||||
${CC} -c ${CPPFLAGS} ${CFLAGS} -o $@ $*.c
|
||||
|
||||
pnglibconf.h: ${PNGLIBCONF_H_PREBUILT}
|
||||
cp ${PNGLIBCONF_H_PREBUILT} $@
|
||||
|
Reference in New Issue
Block a user