Possible Duplicate:
Make error: missing separator
I've made many makefiles, but today I was making an easy one and it doesn't work because it is missing a separator.
CC = g++
CFLAGS = -O2 -Wall
LDFLAGS =
MODULOS = externa libreria ann
PARTES = metodos backprop BackApp
EXECUTABLE = atras
.PHONY: clean install uninstall
all: externa libreria ann
$(CC) $(CFLAGS) –c $(PARTES).o –o $(EXECUTABLE)
external: metodos.cpp metodos.h
$(CC) –c $(CFLAGS) metodos.cpp
libreria: backprop.cpp backprop.h
$(CC) $(CFLAGS) –c backprop.cpp
ann:
$(CC) $(CFLAGS) –c BackApp.cpp
clean:
rm –f $(PARTES).o
install:
cp juego /usr/games/juego
uninstall:
sudo rm /usr/games/juego
The error concerns the next line after external, line 14. The error says:
*** missing separator
but I don't know how to solve it.
You probably have spaces instead of tabs for indentation on that line.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With