Tag: cc

Posted in Linux

Why on earth make invokes cc instead of gcc!?!

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...