make, scripts: Merged changes from V_1_2_0_6_JAN

This commit is contained in:
Jan Lindemann 2011-06-14 20:14:59 +00:00 committed by Jan Lindemann
commit 7a50ef5bd3
4 changed files with 791 additions and 13 deletions

View file

@ -185,8 +185,8 @@ strip.done: $(EXE_ALL)
$(STRIP) $^
touch $@
%.done:
make -$(MAKEFLAGS) -C $(shell dirname $@) `basename $@`
#%.done:
# make -$(MAKEFLAGS) -C $(shell dirname $@) `basename $@`
.%.o.dep.mk: %.cpp $(BUILD_HDR)
$(CC) -M $(CPPFLAGS) $(DEPEND_CPPFLAGS) $< -o $@
@ -321,6 +321,7 @@ $$(BUILD_$(1)DIR)/%: % $$(TOPDIR)/dir_build_$(1).done
@if [ ! $$< -ef $$@ -a "`echo $$< | sed 's/\..*//'`" != local ]; then \
echo install -m $($(1)MODE) $$< $$@ ;\
install -m $($(1)MODE) $$< $$@ ;\
rm -f $$(TOPDIR)/dirs.done ;\
fi
$$(TOPDIR)/dir_install_$(1).done: