#-----------------------------------------------------------------#
# Makefile for ifchk.                                             #
#                                                                 #
# Please read the INSTALL file before compiling ifchk.            #
#                                                                 #
# Makefile assumes the use of gcc.                                #
# Reset the CC environment variable below to a different compiler #
# implementation if you are not building with gcc.                #
# Also check that this compiler supports the -g flag as assigned  #
# to the CFLAGS environment variable below.                       #
#                                                                 #
# Manual compilation is also an option.                           #
#                                                                 #
# Copyright (C) 2002 - 2004 Joshua Birnbaum <engineer@noorg.org>. #
# All Rights Reserved.                                            #
#-----------------------------------------------------------------#
CC=gcc
CFLAGS= -g
OBJS=ifchk.o linux.o log.o uid.o
#
# Compiler Flags:
#	-g	-- enable debugging.
#	-o	-- name of output file.

ifchk:	$(OBJS)
	$(CC) $(CFLAGS) -o ifchk $(OBJS)

clean:
	rm -f *.o ifchk
