make: Replace some executables by absolute paths to improve performance

Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
Jan Lindemann 2017-09-02 19:26:52 +00:00
commit f5c43f706a
54 changed files with 134 additions and 137 deletions

View file

@ -30,23 +30,23 @@ endif
clean.unix:
ifneq ($(TARGET),mingw)
rm -rf *.so.* *.so st*
$(RM) -rf *.so.* *.so st*
endif
clean.mingw:
ifeq ($(TARGET),mingw)
rm -rf *.dll *.def *.exp *.lib
$(RM) -rf *.dll *.def *.exp *.lib
endif
clean.all:
rm -rf *.a *.o *~ st* .*.swp *.done ld-*.conf version.ldscript
$(RM) -rf *.a *.o *~ st* .*.swp *.done ld-*.conf version.ldscript
ld-%.conf:
echo $(INSTALL_LIBDIR) > $@.tmp
mv $@.tmp $@
clean.ld-conf:
rm -f $(LD_CONF)
$(RM) -f $(LD_CONF)
echo.libs:
@echo INSTALLED_LIB_SO = $(INSTALLED_LIB_SO)
@ -66,7 +66,7 @@ echo-contrib: echo.contrib-libs echo.libs
# rules
clean.contrib-libs:
rm -f $(CONTRIB_LIBS)
$(RM) -f $(CONTRIB_LIBS)
define contrib_lib_search_rules
%.dll: $(1)/%.dll
@ -81,7 +81,7 @@ echo.contrib-libs:
ifeq ($(TARGET),mingw)
clean.winres:
rm -f $(WINRES_RC) $(WINRES_O) *.tmp
$(RM) -f $(WINRES_RC) $(WINRES_O) *.tmp
clean: clean.winres
#%.o : %.rc