diff --git a/Makefile.lib b/Makefile.lib index 7e102c3d..a56d45cd 100644 --- a/Makefile.lib +++ b/Makefile.lib @@ -33,8 +33,8 @@ mcmd = @$(if $($(mquiet)cmd_$(1)),echo $($(mquiet)cmd_$(1)) &&) $(cmd_$(1)) ecmd = @$(if $($(mquiet)cmd_$(1)),printf "%-38s " $($(mquiet)cmd_$(1)) &&) $(cmd_$(1)) quiet_cmd_compile = ' [$(CC_COLOR)CC$(END_COLOR)] $(RELPATH)$@' - masq_cmd_compile = $(COMPILE) -c $< - cmd_compile = $(COMPILE) -Wp,-MD,.deps/$(*F).pp -c $< + masq_cmd_compile = $(COMPILE) -o $(@) -c $< $(2) + cmd_compile = $(COMPILE) -o $(@) -Wp,-MD,.deps/$(*F).pp -c $< $(2) # Rule to compile a set of .o files into one .o file quiet_cmd_ld_objs = " [$(LD_COLOR)LD$(END_COLOR)] $(RELPATH)$@"