Skip to content
Sign upLog in
← Back to Community
Solving the missing separator Makefile problem
Profile icon
Highwayman

So if I remember correctly more people than just me were having problems with a certain make file error stating a missing separator, even if you specifically used tabs and such today I realized all you must do is set your indent type in settings to be tabs instead of spaces and then it should work. yayyyy.

Voters
Profile icon
EzequielOscarOs
Profile icon
xNanoBoo
Profile icon
tjvananne
Profile icon
DynamicSquid
Profile icon
Highwayman
Comments
hotnewtop
Profile icon
Highwayman

This is the future me telling the past me that I'm a dumb b.

the version of make that replit uses is GnuMake.

just use

.RECIPEPREFIX=<SEPARATOR> recipe: <SEPARATOR> commands <SEPARATOR> commands <SEPARATOR> commands
Profile icon
DynamicSquid

tabs > spaces

Profile icon
Highwayman

@DynamicSquid
spaces > tabs

Profile icon
DynamicSquid

@Highwayman
you got your sign mixed up

Profile icon
Highwayman

@DynamicSquid
ah yes of course deepest apologies:

spaces

>

tabs

there we go all fixed

Profile icon
DynamicSquid

@Highwayman
spaces is like the zombie, while tabs is like the dude

Profile icon
Highwayman
Profile icon
DynamicSquid

@Highwayman
your pfp

Profile icon
Highwayman

@DynamicSquid
oh! lol. problem is, what are the bullets+gun? those are the real threat...

Profile icon
Jakman

@DynamicSquid
newlines > all

Profile icon
Highwayman

And now the question is: what type of newlines? (LF > CR LF)

@Jakman

Profile icon
Jakman

@Highwayman
did not know there where multiple

Profile icon
Highwayman

@Jakman
oh. Apparently there are.