chiark / gitweb /
Legal: Add NO WARRANTY everywhere
[subdirmk.git] / example / src / Dir.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 # There is NO WARRANTY.
6
7 &TARGETS        += & toy
8
9 &OBJECTS        += & toy.o
10 &LIBS           += lib/libtoy.a
11
12 &toy: $(&OBJECTS) $(&LIBS)
13         $(LINK) $^
14
15 # This is a hook for subdirmk's test suite.
16 &:-include src/for-test.sd.mk