// Copyright (C) 2016 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause

//! [0]
moc_%.cpp: %.h
        moc $(DEFINES) $(INCPATH) $< -o $@
//! [0]


//! [1]
moc_foo.cpp: foo.h
        moc $(DEFINES) $(INCPATH) $< -o $@
//! [1]


//! [2]
foo.o: foo.moc

foo.moc: foo.cpp
        moc $(DEFINES) $(INCPATH) -i $< -o $@
//! [2]
