Tag: gcc
Posted in Linux
Why on earth make invokes cc instead of gcc!?!
February 26, 2013 Leave a comment
I’m working on my next cool project (subscribe to RTFMS.com to find out details) and got stuck with an interesting problem. Here is a fragment of my Makefile:
…
SOURCES := $(wildcard *.c)
…
%.o: %.c %.h
$(I_CC) $(I_CCFLAGS) -c $<
...
When I run make clean;make the output is following:
gcc -g -I. -I/usr/include -c 1.c
gcc...