NetBSD/share/examples/asm/Makefile.inc.inst
jmmv a5847cc334 Add assembly language examples in a new 'asm' subdirectory.
At the moment this only provides an example for a "Hello world" program
for powerpc.  (Bear with me: this is my very first assembly program in
powerpc; if you find anything stupid in the code, please fix it!)
2011-11-12 01:18:40 +00:00

18 lines
705 B
Makefile

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