Line 18 is gcc -fPIC -g -c -Wall mymemory.cpp
. Make is expecting a separator, typically :
. It’s not detecting this line as a command. You mistyped the intendation: you have spaces where you should have a tab.
Good editors highlight makefile lines that begin with spaces but look like they should begin with a tab instead.
Related Posts:
- 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 ‘make after make clean’ and just ‘make’?
- make *** no targets specified and no makefile found. stop
- How to install “make” in ubuntu?
- How to use LDFLAGS in makefile
- how to “execute” make file
- 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?
- Makefile:2: *** missing separator. Stop
- Make error: missing separator
- makefile “no such file or directory”
- gcc error: wrong ELF class: ELFCLASS64
- makefiles CFLAGS
- What’s the opposite of ‘make install’, i.e. how do you uninstall a library in Linux?
- The difference between .mk file and Makefile
- Passing additional variables from command line to make
- Undefined reference maybe makefile is wrong?
- C Makefile – missing seperator. stop
- What is the difference between gmake and make?
- Makefile on Cygwin
- What does “all” stand for in a makefile?
- makefile:4: *** missing separator. Stop
- gcc makefile error: “No rule to make target …”
- How to make a SIMPLE C++ Makefile
- gcc makefile error: “No rule to make target …”
- Difference between using Makefile and CMake to compile the code
- How to run a makefile in Windows?
- Cygwin – Makefile-error: recipe for target `main.o’ failed
- Making a Java Makefile
- *** No rule to make target ‘class.cpp’, needed by `build/….x86/class.o` Stop. error in Ubuntu
- 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
- configure: error: cannot run C compiled programs
- 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
- File format not recognized; treating as linker script using GCC
- “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
- “Nothing to be done for makefile” message