#----------------------------------------------------------------#
# Makefile for ifchk.                                            #
#                                                                #
# Please read the INSTALL file before compiling ifchk.           #
#                                                                #
# Reset the CC environment variable below to 'gcc' if you are    #
# building with gcc.                                             #
# Also check that gcc supports the -n32 -mips3 compiler flags    #
# as assigned to the CFLAGS environment variable below.          #
#                                                                #
# Copyright (C) 2002, 2003 Joshua Birnbaum <engineer@noorg.org>. #
# All Rights Reserved.                                           #
#----------------------------------------------------------------#
CC=cc
CFLAGS= -n32 -mips3 -g -o
#
# Compiler Flags:
#	-g     -- enable debugging.
#	-n32   -- generate n32 ABI object.
#	-mips3 -- generate code using MIPS3 ISA.

ifchk:  ifchk.c
	$(CC) $(CFLAGS) ifchk ifchk.c

clean:
	rm -f ifchk
