I am compiling a Juce project to be tested on several architectures, thus I want to provide the TARGET_ARCH=x86 or similar to make when running the build. However, this gives me the error
g++: error: x86: No such file or directory
My Makefile is used as spit out from the Introjucer when I save my project. so it is nothing fancy; it is "identical" to the HelloWorld example. The same error arises when compiling this example project; make works fine, while make TARGET_ARCH=x86 (or whatever I put in instead of x86) makes the build process fail with the above error. It does not complain if I use CONFIG=Release variable. The order of arguments does not matter - the error comes anyway.
What can be wrong here?
Note that I am far from being an expert on build processes and compilers, so I might have misunderstood something basic here.