diff --git a/configs/open1788/kernel/Makefile b/configs/open1788/kernel/Makefile index d3a47e7389b..16731a24d1f 100644 --- a/configs/open1788/kernel/Makefile +++ b/configs/open1788/kernel/Makefile @@ -70,7 +70,7 @@ OBJS = $(COBJS) # Targets: all: $(TOPDIR)$(DELIM)nuttx_user.elf $(TOPDIR)$(DELIM)User.map -.PHONY: depend clean distclean +.PHONY: nuttx_user.elf depend clean distclean $(COBJS): %$(OBJEXT): %.c $(call COMPILE, $<, $@) diff --git a/configs/sam3u-ek/kernel/Makefile b/configs/sam3u-ek/kernel/Makefile index 5ce23a53921..da4510a006d 100644 --- a/configs/sam3u-ek/kernel/Makefile +++ b/configs/sam3u-ek/kernel/Makefile @@ -70,7 +70,7 @@ OBJS = $(COBJS) # Targets: all: $(TOPDIR)$(DELIM)nuttx_user.elf $(TOPDIR)$(DELIM)User.map -.PHONY: depend clean distclean +.PHONY: nuttx_user.elf depend clean distclean $(COBJS): %$(OBJEXT): %.c $(call COMPILE, $<, $@)