Makefile execution properly

Viewed 13

I am trying to run a Makefile in the Ubuntu terminal. In the first line, it has the following code:

BINDIR=$(HOME)/bin/$(ARCH)

In this case, what does it mean the variable $(ARCH)?

I am trying to change the BINDIR path to my current directory (i.e BINDIR= $(HOME)/name/folder/$(ARCH)), and executing the Makefile as:

./Makefile

But I am getting the following errors in the terminal:

Makefile: line 1: HOME: command not found ./Makefile: line 1: ARCH: command not found ./Makefile: line 4: all:: command not found mmand not found ./Makefile: line 4: all:: command not found

Could someone help me?

Thanks in advance!

0 Answers
Related