Makefiles: Turn off make built-in suffixes.

This commit is contained in:
Wilson Snyder 2015-11-28 17:33:01 -05:00
parent 373a68ec8b
commit d39ce17dea
5 changed files with 10 additions and 0 deletions

View File

@ -100,6 +100,8 @@ PACKAGE_VERSION = @PACKAGE_VERSION@
#### End of system configuration section. ####
######################################################################
.SUFFIXES:
SHELL = /bin/sh
SUBDIRS = src test_verilated test_c test_sc test_regress

View File

@ -46,6 +46,8 @@ obj_opt:
obj_dbg:
mkdir $@
.SUFFIXES:
.PHONY: ../verilator_bin ../verilator_bin_dbg ../verilator_coverage_bin_dbg
opt: ../verilator_bin

View File

@ -327,6 +327,8 @@ V3PreLex_pregen.yy.cpp: V3PreLex.l $(HEADERS)
V3PreLex.yy.cpp: V3PreLex_pregen.yy.cpp $(FLEXFIX)
$(PERL) $(FLEXFIX) V3PreLex <$< >$@
.SUFFIXES:
######################################################################
######################################################################

View File

@ -40,6 +40,8 @@ ifeq ($(CFG_WITH_LONGTESTS),yes)
DRIVER_FLAGS += -j 0
endif
.SUFFIXES:
######################################################################
.PHONY: test

View File

@ -42,6 +42,8 @@ ifeq ($(VM_SP_OR_SC),1)
LIBS += $(SC_LIBS)
endif
.SUFFIXES:
#Default compile, pick up OBJCACHE
%.o: %.cpp
$(OBJCACHE) $(CXX) -c $(CPPFLAGS) $(CXXFLAGS) $<