chiark / gitweb /
Legal: Update tests/filter/ inputs and outputs
[secnet.git] / subdirmk / example / lib / t / 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_check  += & toytest.stamp
8
9 &OBJECTS        += & toytest.o
10 &LIBS           += lib/libtoy.a
11
12 &CLEAN          += & toytest toytest.stamp
13
14 &toytest:       $(&OBJECTS) $(&LIBS)
15         $(LINK) $^
16
17 &toytest.stamp: & toytest
18         $<
19         touch $@