Suppose you have 3 files in your C project
- a.c
- a.h // Header for a.c
- b.c
Apple-R fails to link files properly, ld error comes up. (ld: symbol(s) not found for architecture x86_64)

Running gcc manually on a command line works fine gcc -o executable a.c b.c
Can one redefine what Apple-R does or should a makefile need to be created? Can one link Apple-R to make file?
If you have the Make bundle enabled, you should be able to do
Command-Bto build the project with the current Makefile. In any case, you should probably use a Makefile instead of relying on TextMate’s “Run” command, which doesn’t know about dependencies and whatnot.