CC=gcc
OPT=-O2 -DAPPLE
LIBS= -static -s
#
# If you need to recompile, you'll need the tcp_wrappers libwrap.a
# functions. For convenience, make a link to it here but you can
# point WRAP_HOME to where ever it really is.
WRAP_HOME = ./libwrap.a

CFLAGS = $(OPT) $(WALL)
OBJECT = inetd.o

all:	inetd

inetd:	$(OBJECT) $(WRAP_HOME)
	$(CC) $(CFLAGS) $(OBJECT) $(WRAP_HOME) -o $@ $(LIBS)

clean:
	rm -rf *.o core inetd
