new user-error in make file

OP #1172599
Rate this post
• ▲ useful
▼ not useful
I am a new user in ARM microcontroller.
I interested using WinARM.
I have downloaded that package and followed step by step tutorial using
WinARM 20060606 in http://www.siwawi.arubi.uni-kl.de.
but when I want to compile a project about led blink there are 17 errors
in make file about "Command Syntax Error".



"Command Syntax Error" in this section
ifeq ($(RUN_MODE),RAM_RUN)
LDFLAGS +=-Tbuild/$(SUBMDL)-RAM.ld
else
LDFLAGS +=-Tbuild/$(SUBMDL)-ROM.ld
endif

"Colon Expected" in this section
.PRECIOUS : $(AOBJARM) $(AOBJ) $(COBJARM) $(COBJ) $(CPPOBJ) $(CPPOBJARM)

"Command Syntax Error"
@echo $(MSG_COMPILING_ARM) $<
$(CC) -c $(ALL_CFLAGS) $(CONLYFLAGS) $< -o $@
@echo $(MSG_COMPILINGCPP) $<
$(CPP) -c $(THUMB) $(ALL_CFLAGS) $(CPPFLAGS) $< -o $@
@echo $(MSG_COMPILINGCPP_ARM) $<
$(CPP) -c $(ALL_CFLAGS) $(CPPFLAGS) $< -o $@
@echo $(MSG_ASSEMBLING) $<

$(CC) -c $(THUMB) $(ALL_ASFLAGS) $< -o $@
-include $(shell mkdir .dep 2>/dev/null) $(wildcard .dep/*)



Why this can happen? Thank you.
#1172601
Rate this post
• ▲ useful
▼ not useful
Martin Thomas wrote:
> Maybe you are not using a GNU make. Check if there is another program
> called make.exe in the search path (i.e. one from Borland/Inprise) and
> rename it. If this does not help, paste the complete output of make all.

Or it use the non cygwin make.exe with a Makefile that that doesn't have
the SHELL=CMD

Just a though

Jonathan

Reply

Note: the original post is older than 6 months. Please don't ask any new questions in this thread, but start a new one.

Formatting
  • [c]C-Code[/c]
  • [code]code in other languages, ASCII drawings[/code]
  • [math]formula (LaTeX syntax)[/math]
  • [[Title]] – link to an article
  • Link to another post: right-click its post ID (#8078628), copy the address, paste it into the text

More about formatting

Post long source code as an attachment, not in the text.

Already registered? Log in

Not shown to anyone. We send you a link; your post appears once you confirm it there.

By submitting you create a free account and accept the terms of use.