simple g++ makefile on Windows.
HI folks,
I'm trying to figure out why my makefile doesn't work.
I'm using GNU on Windows 7.
The error I get is
Makefile:8: *** missing separator. Stop.
I'm looking for this to be pretty simple to start. Any help is appreciated.
1 2 3 4 5 6 7 8 9 10 11 12 13
|
CPP = g++
OFLAG = -o
CFLAG = -D DEBUG -c -Wall
PROGRAM=TMA1-4.cpp
OUTPUT=TMA1-4
all:
$(CPP) $(OFLAG) $(OUTPUT) $(PROGRAM)
debug:
$(CPP) $(OFLAG) $(CFLAG) $(OUTPUT) $(PROGRAM)
|
Recipe lines must start with a tab. You're missing the initial tab on line 9 above.
Topic archived. No new replies allowed.