このソースファイルを以下のmakefileで作ってもInitCommonControlsが無いとエラーが出ます。解決方法がわかりません。。どなたか教えてください。
//test.cpp
#include <windows.h>
#include <stdio.h>
int main()
{
nitCommonControls();
printf("ok");
return 0;
}
//makefile
g++ -lcomctl32 test.cpp -o test.exe