Makefile requires that all “commands” in a rule are indented by one tab.
You have, for example, this rule:
clean: $(RM) $(TARGETS) $(OSMLIB) $(OBJ) $(LIBOBJ) *~ *core
That is wrong, the command-line should be intended with an actual tab (not spaces) like
clean: $(RM) $(TARGETS) $(OSMLIB) $(OBJ) $(LIBOBJ) *~ *core
Related Posts:
- Undefined reference maybe makefile is wrong?
- makefile:4: *** missing separator. Stop
- Error in make command makefile:18: *** missing separator. Stop [duplicate]
- what is the difference between ‘make after make clean’ and just ‘make’?
- What are the differences between make clean, make clobber, make distclean, make mrproper and make realclean?
- make *** no targets specified and no makefile found. stop
- How to install and use “make” in Windows?
- How to install “make” in ubuntu?
- Difference between using Makefile and CMake to compile the code
- How to use LDFLAGS in makefile
- How to print out a variable 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?
- Cygwin – Makefile-error: recipe for target `main.o’ failed
- Makefile:2: *** missing separator. Stop
- Make error: missing separator
- make: Nothing to be done for `all’
- (.text+0x20): undefined reference to `main’ and undefined reference to function
- What is the difference between “make” and “make all”?
- How to compile makefile using MinGW?
- Makefile:1: *** missing separator. Stop
- 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
- Passing additional variables from command line to make
- Linker error: “linker input file unused because linking not done”, undefined reference to a function in that file
- Makefile on Cygwin
- “Nothing to be done for makefile” message
- What does “all” stand for in a makefile?
- The difference between n++ and ++n at the end of a while loop? (ANSI C)
- How many spaces for tab character(\t)?
- Working on code to calculate cosine with factorial sum
- warning: implicit declaration of function
- What is the effect of extern “C” in C++?
- What exactly is the difference between “pass by reference” in C and in C++?
- What does “collect2: error: ld returned 1 exit status” mean?
- Floating point exception (core dumped)
- Correct format specifier for double in printf
- max value of integer
- Convert an int to ASCII character
- Awesomium sdk download
- Bad File Descriptor with Linux Socket write() Bad File Descriptor C
- What is the difference between char s[] and char *s?
- Error “initializer element is not constant” when trying to initialize variable with const
- connect Error: “No route to host”
- C error: undefined reference to function, but it IS defined
- What is the printf format specifier for bool?
- warning: implicit declaration of function
- C dynamically growing array
- How to printf “unsigned long” in C?
- Why do I get an assertion failure?
- Difference between int32, int, int32_t, int8 and int8_t
- lvalue required as left operand of assignment
- how to convert negative hexadecimal to decimal
- Why am I getting “undefined reference to sqrt” error even though I inclu de math.h header?
- How to initialize a struct in accordance with C programming language standards
- Expression preceding parentheses?
- Linux equivalent of I_PUSH
- Understanding INADDR_ANY for socket programming
- The Definitive C Book Guide and List[
- When is it a good idea to use strdup (vs malloc / strcpy)
- expression must have integral type
- Why is %c used in C?
- How to solve error: expected identifier or ‘(‘
- C compile : collect2: error: ld returned 1 exit status
- Split string with delimiters in C
- c array – warning: format not a string literal
- How to pause in C?
- Why am I getting this error: “data definition has no type or storage class”?
- I’m getting “Invalid Initializer”, what am I doing wrong?
- Multi-character constant warnings
- warning: passing argument ’from incompatible pointer type [enabled by default]’
- Return a `struct` from a function in C
- C dynamically growing array
- Why should we check WIFEXITED after wait in order to kill child processes in Linux system call?
- How to convert const char* to char* in C?
- Scanning Multiple inputs from one line using scanf
- C subscripted value is neither array nor pointer nor vector when assigning an array element value
- error: too few arguments to function `printDay’ (C language)
- Implementing a HashMap in C
- How to parse in C
- error: unknown type name ‘bool’
- Optional arguments in C function
- Which of sprintf/snprintf is more secure?
- Where is the
header file on Linux? Why can’t I find ? - “warning: useless storage class specifier in empty declaration” in struct
- How to allocate array of pointers for strings by malloc in C?
- Why are there no hashtables in the C standard library?
- Reasoning behind C sockets sockaddr and sockaddr_storage
- What primitive data type is time_t? [duplicate]
- Difference between “while” loop and “do while” loop
- Swapping 2 Bytes of Integer
- GDB no such file or directory
- Level vs Edge Trigger Network Event Mechanisms
- How to convert integers to characters in C?
- variably modified array at file scope in C
- How to use random() in C [duplicate]