Make sure that cpp & asm files are rebuilt on Makefile.in changes like .c files.

This commit is contained in:
cls%seawood.org 2001-04-05 02:12:53 +00:00
Родитель 6a962f1525
Коммит 28ae2403ae
1 изменённых файлов: 5 добавлений и 5 удалений

Просмотреть файл

@ -834,15 +834,15 @@ endif
$(REPORT_BUILD)
$(ELOG) $(HOST_CC) -o $@ -c $(HOST_CFLAGS) -I$(DIST)/include $(NSPR_CFLAGS) $<
moc_%.cpp: %.h
moc_%.cpp: %.h Makefile.in
$(MOC) $< -o $@
# The AS_DASH_C_FLAG is needed cause not all assemblers (Solaris) accept
# a '-c' flag.
%.o: %.s
%.o: %.s Makefile.in
$(AS) -o $@ $(ASFLAGS) $(AS_DASH_C_FLAG) $<
%.o: %.S
%.o: %.S Makefile.in
$(AS) -o $@ $(ASFLAGS) -c $<
%: %.cpp Makefile.in
@ -852,12 +852,12 @@ moc_%.cpp: %.h
#
# Please keep the next two rules in sync.
#
%.o: %.cc
%.o: %.cc Makefile.in
$(REPORT_BUILD)
@$(MAKE_DEPS)
$(ELOG) $(CCC) -o $@ -c $(COMPILE_CXXFLAGS) $<
%.o: %.cpp
%.o: %.cpp Makefile.in
$(REPORT_BUILD)
@$(MAKE_DEPS)
ifdef STRICT_CPLUSPLUS_SUFFIX