The invention relates to a method for the preparation of a coating comprising at least one coating layer on a substrate, the method comprising the steps of a. providing monomers of the type R—(N)x-(L)m-(C═C)n-(L′)o-(N′)y—R′, wherein R is a head moiety, R′ is a tail moiety, (C≡C)n is an oligoyne moiety, L and L′ are linker moieties, N and N′ independently are branched or unbranched optionally substituted C1-C25 alkyl moieties optionally containing 1 to 5 heteroatoms, x, m, o, and y are independently 0 or 1, n is 4 to 12, and wherein the head moiety allows for an interaction with the surface of the substrate; b. bringing the monomers into contact with the substrate wherein the interaction of the head moieties of the monomers with the surface of the substrate induces at least a part of the monomers to align in a defined manner thereby forming a film on the surface and bringing the oligoyne moieties of the monomers into close contact with each other; c. inducing a reaction between oligoyne moieties by providing an external stimulus so as to at least partially cross-link the aligned monomers, thereby forming a coating layer on the substrate. The invention further relates to a coating obtainable according to the method of the invention, the use of a coating obtainable according to the method of the invention, a substrate comprising a coating obtainable according to the invention and the use of solid substrate. The invention further relates to a method for the synthesis of the monomers according to the invention.