# MINIX-PC ACK compiler.
CC	= cc
LD	= cc -i
O	= s
L	= ack

# MINIX-PC BCC compiler from Bruce Evans.
#CC	= bcc
#LD	= bcc -i
#O	= o
#L	= bcc

INC	= -I../../include
LIB	= ../../lib/$(L)


CFLAGS	= -D_MINIX -D_POSIX_SOURCE $(INC)

LIBS	= $(LIB)/libinet.a $(LIB)/libtnet.a

OBJS	= nstest.$(O)


nstest:		$(OBJS)
		$(LD) -o nstest $(OBJS) $(LIBS)

nstest.$(O):	nstest.c
		$(CC) -c $(CFLAGS) nstest.c

# End of Makefile.
