I would like to use std::experimental::filesystem in my code, this requires me to compile using -lstdc++fs with GCC and -lc++experimental with Clang. At the moment I have a makefile and makefile.clang reflecting the difference in compilation, alternatively I've thought about using a clang build target so I can run build clang.
Is there some canonical way to set compiler-specific flags in a makefile?
 
     
     
    