Unless all of your directories (i.e., BIN_DIR, SRC_DIR) are in the root directory (/) then that is why you’re getting the error. You either want to remove the initial slash or you can use an environment variable prefix like SRC_DIR = $(MY_PROJECT_BASE_DIRECTORY)/src
.
Related Posts:
- The difference between .mk file and Makefile
- Error in make command makefile:18: *** missing separator. Stop [duplicate]
- What are the differences between make clean, make clobber, make distclean, make mrproper and make realclean?
- How to install and use “make” in Windows?
- How to print out a variable in makefile
- What is the difference between “make” and “make all”?
- What is the difference between gmake and make?
- makefile:4: *** missing separator. Stop
- gcc makefile error: “No rule to make target …”
- what is the difference between ‘make after make clean’ and just ‘make’?
- How to make a SIMPLE C++ Makefile
- gcc makefile error: “No rule to make target …”
- make *** no targets specified and no makefile found. stop
- How to install “make” in ubuntu?
- Difference between using Makefile and CMake to compile the code
- How to use LDFLAGS in makefile
- how to “execute” make file
- How to run a makefile in Windows?
- How do I force make/GCC to show me the commands?
- How does “make” app know default target to build if no target is specified?
- Cygwin – Makefile-error: recipe for target `main.o’ failed
- Making a Java Makefile
- Makefile:2: *** missing separator. Stop
- *** No rule to make target ‘class.cpp’, needed by `build/….x86/class.o` Stop. error in Ubuntu
- Make error: missing separator
- make: Nothing to be done for `all’
- (.text+0x20): undefined reference to `main’ and undefined reference to function
- What are Makefile.am and Makefile.in?
- Compiling C++ on remote Linux machine – “clock skew detected” warning
- ‘strcmp’ was not declared in this scope
- How to compile makefile using MinGW?
- Program “make” not found in PATH
- Windows 7 – ‘make’ is not recognized as an internal or external command, operable program or batch file
- Makefile:1: *** missing separator. Stop
- Cygwin Make bash command not found
- g++ output: file not recognized: File format not recognized
- gcc error: wrong ELF class: ELFCLASS64
- makefiles CFLAGS
- configure: error: cannot run C compiled programs
- What’s the opposite of ‘make install’, i.e. how do you uninstall a library in Linux?
- What is the job of autogen.sh when building a c++ package on Linux
- Using G++ to compile multiple .cpp and .h files
- Program “make” not found in PATH
- Passing additional variables from command line to make
- File format not recognized; treating as linker script using GCC
- Undefined reference maybe makefile is wrong?
- “No rule to make target ‘install'”… But Makefile exists
- How to get a shell environment variable in a makefile?
- Make / gcc cryptic error 2: how to have more information?
- Linker error: “linker input file unused because linking not done”, undefined reference to a function in that file
- C Makefile – missing seperator. stop
- Makefile on Cygwin
- “Nothing to be done for makefile” message
- What does “all” stand for in a makefile?