1*cd93af5dSlukem# $NetBSD: Makefile,v 1.5 2003/05/04 06:36:37 lukem Exp $ 26be22c0cSuch 36be22c0cSuchHOST_CC ?= /usr/bin/cc 46be22c0cSuch 56be22c0cSuchtest: platid_test 66be22c0cSuch ./platid_test > platid_test.out 76be22c0cSuch diff platid_test.out platid_test.canon 86be22c0cSuch 96be22c0cSuchplatid_test: platid.c platid_mask.c platid_test.c platid_name.c 10*cd93af5dSlukem -rm -f machine 11*cd93af5dSlukem ln -s ../../hpcmips/include machine 12ca599650Stakemura $(HOST_CC) -Dhpcmips -Dhpcarm -Dhpcsh -I/usr/include -I. -I../.. -DPLATID_TEST \ 130b309ab6Senami platid.c platid_mask.c platid_name.c platid_test.c -o $@ 146be22c0cSuch 156be22c0cSuchCLEANFILES+= platid_test platid_test.out machine mips 166be22c0cSuch 176be22c0cSuchclean: 18ca599650Stakemura rm -f machine platid_test.out platid_test 196be22c0cSuch 206be22c0cSuch.include <bsd.subdir.mk> 21