I have installed Cygwin. My problem is when I try to run a makefile which contains a line
gcc -g -c file.c
I get an error:
Fatal: Unable to execute command: gcc
At the same time when running this command from command line it works fine. What am I doing wrong?
UPDATE
The whole file:
CFLAGS = -g
CC = gcc
file.o: file.c file.h
$(CC) $(CFLAGS) -c file.c
which make. – ak2 May 8 '11 at 19:36