2023-12-07 16:39:04 +00:00
|
|
|
# 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
|
2023-12-09 02:39:14 +00:00
|
|
|
# except the include Vfpga_top.mk line and try again.
|
2023-12-07 16:39:04 +00:00
|
|
|
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 $@ $<
|