I have the following makefile
but when i write make on the terminal it always says:Code:CFLAGS=-ansi -Wall -Wextra -pedantic -o2 test: test.o function.o gcc $ (CFLAGS) -o test test.o function.o .PHONY: clean clean: rm -f *.o
gcc (CFLAGS) -o test test.o function.o
/bin/sh: 1: Syntax error: word unexpected (expecting ")")
make: *** [test] Error 2
what am i doing wrong? I tried looking everywhere on the internet and i cant seem to find what is wrong....