Добрый вечер, есть такой makefile
flags=-m32 -fno-stack-protector -std=c++11 -c -fpack-struct=1 -fPIC -O3 -w -DLINUX -fpermissive -I./
all: -rm -f *~ *.o g++ $(flags) ./lib/subhook/subhook.c g++ $(flags) -I./ ./lib/raknet/*.cpp g++ $(flags) -I./ ./lib/sdk/*.cpp gcc $(flags) -I./ ./src/*.cpp gcc -m32 -fno-stack-protector -fshort-wchar -shared -o «bin/test.so» *.o -rm -f *~ *.o
Однако, при попытке заюзать ./makefile, получается это:
./makefile: line 1: $'\r': command not found ./makefile: line 2: -fno-stack-protector: command not found ./makefile: line 3: $'\r': command not found ./makefile: line 4: $'all:\r': command not found ./makefile: line 5: -rm: command not found ./makefile: line 6: flags: command not found ./makefile: line 6: g++: command not found ./makefile: line 7: flags: command not found ./makefile: line 7: g++: command not found ./makefile: line 8: flags: command not found ./makefile: line 8: g++: command not found ./makefile: line 9: flags: command not found ./makefile: line 9: gcc: command not found ./makefile: line 10: gcc: command not found ./makefile: line 11: -rm: command not found
В чём ошибка? И что делать?