File tree 1 file changed +9
-6
lines changed
1 file changed +9
-6
lines changed Original file line number Diff line number Diff line change @@ -231,13 +231,16 @@ class EmitMk final {
231
231
of.puts (" \n ### Executable rules... (from --exe)\n " );
232
232
of.puts (" VPATH += $(VM_USER_DIR)\n " );
233
233
of.puts (" \n " );
234
- for (const string& cppfile : cppFiles) {
235
- const string basename = V3Os::filenameNonExt (cppfile);
236
- // NOLINTNEXTLINE(performance-inefficient-string-concatenation)
237
- of.puts (basename + " .o: " + cppfile + " \n " );
238
- of.puts (" \t $(OBJCACHE) $(CXX) $(CXXFLAGS) $(CPPFLAGS) $(OPT_FAST) -c -o $@ $<\n " );
239
- }
234
+ }
240
235
236
+ for (const string& cppfile : cppFiles) {
237
+ const string basename = V3Os::filenameNonExt (cppfile);
238
+ // NOLINTNEXTLINE(performance-inefficient-string-concatenation)
239
+ of.puts (basename + " .o: " + cppfile + " \n " );
240
+ of.puts (" \t $(OBJCACHE) $(CXX) $(CXXFLAGS) $(CPPFLAGS) $(OPT_FAST) -c -o $@ $<\n " );
241
+ }
242
+
243
+ if (v3Global.opt .exe ()) {
241
244
of.puts (" \n ### Link rules... (from --exe)\n " );
242
245
of.puts (v3Global.opt .exeName ()
243
246
+ " : $(VK_USER_OBJS) $(VK_GLOBAL_OBJS) $(VM_PREFIX)__ALL.a $(VM_HIER_LIBS)\n " );
You can’t perform that action at this time.
0 commit comments