The problem can be what tiwag mentioned, to eliminate this option, try to run wx-config (or type 'which wx-config')
If wx-config exist under your Linux, try this:
1. try to replace in your makefile, `wx-config --libs` with $(shell wx-config --libs), I saw some versions of makefiles that do not expand command line properly and needed this 'shell' command to help them out.
2. If I am not mistaken, wx-config accepts another parameters after the '--libs' flags, for example: "--debug=yes --unicode=no". but I can be wrong on this one and it has default parameters ( I dont have my Linux box infront of me, so cant really say)
EDIT:
If `wx-config` does not exist, how did you get to the link part? Why didnt you fail in compile, which also uses `wx-config --cflags`?
HTH,
Eran