Issue glEnable in linker under Debian Wheezy

I have just install the new version of Debian (Wheezy) in my system with an ATI Graphic Card, and when I launch the make-all-linux-project.sh script I get the following error:

<pre>
/usr/bin/ld: obj/debug/Classes/ClippingNodeTest/ClippingNodeTest.o: undefined reference to symbol 'glEnable'
/usr/bin/ld: note: 'glEnable' is defined in DSO /usr/lib/libGL.so.1 so try adding it to the linker command line
/usr/lib/libGL.so.1: could not read symbols: Invalid operation
collect2: error: ld returned 1 exit status
make[1]: *** [bin/debug/TestCpp] Error 1
make[1]: se sale del directorio `/home/borja/Programas/cocos2d-2.1rc0-x-2.1.2/samples/Cpp/TestCpp/proj.linux'
make: *** [all] Error 2
</pre>

I fixed adding in the linker options of the cocos2dx.mk the "-lGL" flag.