Browse Source

Merge pull request #270 from jothan/Marlin_v1

Create an explicit rule for building applet/Marlin.cpp.
ErikZalm 12 years ago
parent
commit
ff14199e58
1 changed files with 4 additions and 0 deletions
  1. 4
    0
      Marlin/Makefile

+ 4
- 0
Marlin/Makefile View File

@@ -277,6 +277,10 @@ applet/%.o: %.c Configuration.h Configuration_adv.h $(MAKEFILE)
277 277
 	$(Pecho) "  CC    $@"
278 278
 	$P $(CC) -MMD -c $(ALL_CFLAGS) $< -o $@
279 279
 
280
+applet/%.o: applet/%.cpp Configuration.h Configuration_adv.h $(MAKEFILE)
281
+	$(Pecho) "  CXX   $@"
282
+	$P $(CXX) -MMD -c $(ALL_CXXFLAGS) $< -o $@
283
+
280 284
 applet/%.o: %.cpp Configuration.h Configuration_adv.h $(MAKEFILE)
281 285
 	$(Pecho) "  CXX   $@"
282 286
 	$P $(CXX) -MMD -c $(ALL_CXXFLAGS) $< -o $@

Loading…
Cancel
Save