#38097 - Vylrath - Mon Mar 21, 2005 11:11 pm
I'm trying to alter the default Makefile from devkitARM to suit my programming needs. I will eventually use this Makefile to use in a Visual Studio project, but for now, I just want one that will work in a command-line environment.
My question is, what does $(CRT) represent? I see that it is used when the name of the program is being referred to, but I don't see an explicit definition listed. Note: this is the full Makefile that was included with devkitARM.
Thanks!!
_________________
Brian Chambers
brian.chambers@charter.net
Code: |
PREFIX := arm-elf- export CC := $(PREFIX)gcc export CXX := $(PREFIX)g++ export AR := $(PREFIX)ar export OBJCOPY := $(PREFIX)objcopy all: $(CC) -marm -c $(CRT).s -o$(CRT).o $(CC) -marm -mthumb-interwork -c $(CRT).s -o interwork/$(CRT).o $(CC) -mthumb -c $(CRT).s -o thumb/$(CRT).o $(CC) -mthumb -mthumb-interwork -c $(CRT).s -o thumb/interwork/$(CRT).o |
My question is, what does $(CRT) represent? I see that it is used when the name of the program is being referred to, but I don't see an explicit definition listed. Note: this is the full Makefile that was included with devkitARM.
Thanks!!
_________________
Brian Chambers
brian.chambers@charter.net