chiark / gitweb /
example: Add a comment next to for-test bits
[subdirmk.git] / example / src / Subdir.sd.mk
1 # subdirmk example - subdirectory rules
2 #  Copyright 2019 Mark Wooding
3 #  Copyright 2019 Ian Jackson
4 # SPDX-License-Identifier: LGPL-2.0-or-later
5
6 &TARGETS        += & toy
7
8 &OBJECTS        += & toy.o
9 &LIBS           += lib/libtoy.a
10
11 &toy: $(&OBJECTS) $(&LIBS)
12         $(LINK) $^
13
14 # This is a hook for subdirmk's test suite.
15 &:-include src/for-test.sd.mk