diff options
author | Cosmin Truta <ctruta@gmail.com> | 2014-03-22 09:29:59 -0500 |
---|---|---|
committer | Glenn Randers-Pehrson <glennrp at users.sourceforge.net> | 2014-03-22 09:29:59 -0500 |
commit | 82200daec2a6ba977ca509d9602bfc38bb20b944 (patch) | |
tree | 71fb217db137d25d686ad438f51bef6ca44c6b69 /scripts/makefile.elf | |
parent | 6572c7dab5879704559bdd679719c9aa8fa22f81 (diff) | |
download | libpng-82200daec2a6ba977ca509d9602bfc38bb20b944.tar.gz |
[libpng16] $(CP) is now used alongside $(RM_F). Also, use 'copy' instead
of 'cp' where applicable, and applied other minor makefile changes.
Diffstat (limited to 'scripts/makefile.elf')
-rw-r--r-- | scripts/makefile.elf | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/makefile.elf b/scripts/makefile.elf index 6da6d4ae3..cdfbca92d 100644 --- a/scripts/makefile.elf +++ b/scripts/makefile.elf @@ -30,6 +30,7 @@ CC=gcc MKDIR_P=mkdir -p LN_SF=ln -sf RANLIB=ranlib +CP=cp RM_F=/bin/rm -f # where "make install" puts libpng16.a, libpng16.so*, @@ -100,7 +101,7 @@ all: libpng.a $(LIBSO) pngtest pngtest-static libpng.pc libpng-config # see scripts/pnglibconf.mak for more options pnglibconf.h: scripts/pnglibconf.h.prebuilt - cp scripts/pnglibconf.h.prebuilt $@ + $(CP) $< $@ libpng.a: $(OBJS) $(AR_RC) $@ $(OBJS) |