Move LDFLAGS after the main object
When trying to compile on Ubuntu I get the following output:
main.o: In function main: main.cxx:(.text.startup+0x293): undefined reference to pthread_create main.cxx:(.text.startup+0x3b4): undefined reference to pthread_creat' collect2: error: ld returned 1 exit status
The for the bug is that the $(LDFLAGS) are before main.o in the MakeFile.
Sorry but I have no idea on how to link issues with pull requests in github. I pull request to fix the issue can be found here:
https://github.com/echonest/echoprint-codegen/pull/60
For any one coming in Future here... Please change code manually .. as it has been not fixed yet as suggested by mandel-macaque