22 lines
683 B
Plaintext
22 lines
683 B
Plaintext
# This file is basically to make verilator compilation look pretty.
|
|
# If the project doesn't compile it might be because verilator handles compilation
|
|
# differently and this patch doesn't work anymore. In such case remove everything
|
|
# except the include Vsystem.mk line and try again.
|
|
VM_DEFAULT_RULES=0
|
|
|
|
include Vfpga_top.mk
|
|
|
|
include ../../../common.mk
|
|
|
|
%.o: %.cpp
|
|
${QUIET_CC}
|
|
${Q}$(OBJCACHE) $(CXX) $(CXXFLAGS) $(CPPFLAGS) $(OPT_FAST) -c -o $@ $<
|
|
|
|
$(VK_SLOW_OBJS): %.o: %.cpp
|
|
${QUIET_CC}
|
|
${Q}$(OBJCACHE) $(CXX) $(CXXFLAGS) $(CPPFLAGS) $(OPT_SLOW) -c -o $@ $<
|
|
|
|
$(VK_GLOBAL_OBJS): %.o: %.cpp
|
|
${QUIET_CC}
|
|
${Q}$(OBJCACHE) $(CXX) $(CXXFLAGS) $(CPPFLAGS) $(OPT_GLOBAL) -c -o $@ $<
|