I'm trying to run a makefile that compiles programs in 'C'.
TARGET=client server
CC= gcc
CFLAGS= -Wall -Wextra -g
LDFLAGS = -lm -pthread -lncurses
DEPS = util.h
normal: $(TARGET)
client: client.c
$(CC) $(CFLAGS) client.c -o client $(LDFLAGS)
server: server.c
$(CC) $(CFLAGS) server.c -o server $(LDFLAGS)
clean:
$(RM) $(TARGET)
But the following error is returned when I run the terminal (make client):
Makefile:9: *** missing separator. Stop.