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?
The whole file:
CFLAGS = -g CC = gcc file.o: file.c file.h $(CC) $(CFLAGS) -c file.c