xref: /netbsd-src/share/examples/asm/Makefile.inc.inst (revision a5847cc334d9a7029f6352b847e9e8d71a0f9e0c)
1# $NetBSD: Makefile.inc.inst,v 1.1 2011/11/12 01:18:41 jmmv Exp $
2
3# This common Makefile includes logic shared among all the assembly language
4# sample programs.  The code in here is completely optional: i.e. each of the
5# Makefiles inside a particular sample must not depend on this file at all.
6# This is to allow the user to copy the sample directory anywhere else and
7# build the code without having to care about other dependencies.
8
9# The check-implemented target is used by the tests in /usr/tests to determine
10# whether a particular example should be built and tested on a platform.
11.PHONY: check-implemented
12check-implemented:
13.if defined(PROG) && !empty(PROG)
14	@echo yes
15.else
16	@echo no
17.endif
18