diff --git a/tools/renesas/rcar_layout_create/makefile b/tools/renesas/rcar_layout_create/makefile index d5857549b..01b3d62f4 100644 --- a/tools/renesas/rcar_layout_create/makefile +++ b/tools/renesas/rcar_layout_create/makefile @@ -113,8 +113,8 @@ $(OUTPUT_FILE_SA6) : $(MEMORY_DEF_SA6) $(OBJ_FILE_SA6) # Compile ################################################### -%.o:../%.c - $(CC) -c -I $< -o $@ +%.o: %.c + $(CC) $(CPPFLAGS) $(CFLAGS) -c -o $@ $< .PHONY: clean clean: diff --git a/tools/renesas/rzg_layout_create/makefile b/tools/renesas/rzg_layout_create/makefile index 2d438b923..92a0557c0 100644 --- a/tools/renesas/rzg_layout_create/makefile +++ b/tools/renesas/rzg_layout_create/makefile @@ -110,8 +110,8 @@ $(OUTPUT_FILE_SA6) : $(MEMORY_DEF_SA6) $(OBJ_FILE_SA6) # Compile ################################################### -%.o:../%.c - $(CC) -c -I $< -o $@ +%.o: %.c + $(CC) $(CPPFLAGS) $(CFLAGS) -c -o $@ $< .PHONY: clean clean: