add sample that add compile/ld flags to a single source file