Sam TH:
Remove gcc-specific cruft from the Makefile -- this hurts portability! This closes SF tracker patch #403584, and probably more platform-specific build process bugs than I care to think about.
This commit is contained in:
parent
83e53eb8d0
commit
2ce9cd4140
@ -107,24 +107,10 @@ all: $(LIBRARY)
|
||||
.PHONY: all clean distclean maintainer-clean
|
||||
|
||||
.c.o:
|
||||
@echo '$(COMPILE) -c $<'; \
|
||||
$(COMPILE) -Wp,-MD,.deps/$(*F).pp -c $<
|
||||
@-cp .deps/$(*F).pp .deps/$(*F).P; \
|
||||
tr ' ' '\012' < .deps/$(*F).pp \
|
||||
| sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \
|
||||
>> .deps/$(*F).P; \
|
||||
rm .deps/$(*F).pp
|
||||
$(COMPILE) -c $<
|
||||
|
||||
.c.lo:
|
||||
@echo '$(LTCOMPILE) -c $<'; \
|
||||
test -d .deps || mkdir .deps ; \
|
||||
$(LTCOMPILE) -Wp,-MD,.deps/$(*F).pp -c $<
|
||||
@-sed -e 's/^\([^:]*\)\.o[ ]*:/\1.lo \1.o :/' \
|
||||
< .deps/$(*F).pp > .deps/$(*F).P; \
|
||||
tr ' ' '\012' < .deps/$(*F).pp \
|
||||
| sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \
|
||||
>> .deps/$(*F).P; \
|
||||
rm -f .deps/$(*F).pp
|
||||
$(LTCOMPILE) -c $<
|
||||
|
||||
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
||||
cd $(top_builddir) \
|
||||
|
Loading…
Reference in New Issue
Block a user