Makefile: stop removing intermediate files
This avoids rebuilding the same object files
repeatedly.
@@ -19,6 +19,10 @@ MAKEFLAGS += --no-builtin-rules
Makefile: ;
Makefile.%: ;
+# The target logic makes all build artifacts implicit, prevent make from
+# removing object files upon build completion.
+.SECONDARY:
+
### Include a helper Makefile that creates variables for all Contiki-NG path
### locations.
include $(CONTIKI)/Makefile.dir-variables
