#-----------------------------------------------------------------#
# Makefile for ifchk.                                             #
#                                                                 #
# Please read the INSTALL file before compiling ifchk.            #
#                                                                 #
# Makefile assumes the use of gcc.                                #
# Reset the CC environment variable below to 'cc' if you are      #
# building with MIPSpro C from SGI.                               #
#                                                                 #
# Add '-n32' as the first argument to the CFLAGS environment var- #
# iable if your build/runtime environment supports the n32 ABI.   #
#                                                                 #
# Modify/remove the '-mips3' argument to the CFLAGS environment   #
# variable as appropriate for your build/runtime environment.     #
#                                                                 #
# Manual compilation is also an option.                           #
#                                                                 #
# Copyright (C) 2002 - 2004 Joshua Birnbaum <engineer@noorg.org>. #
# All Rights Reserved.                                            #
#-----------------------------------------------------------------#
CC=gcc
CFLAGS= -mips3 -g -o
#
# Compiler Flags:
#	-n32   -- generate n32 ABI object.
#	-mips3 -- generate code using mips3 ISA.
#	-g     -- enable debugging.
#	-o     -- name of output file.

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

clean:
	rm -f ifchk
