External Makefile works with c++ compiler