#
# dip		Dialup IP connection support program.
#		Makefile for LINUX.
#
# Version:	@(#)Makefile.LINUX	1.10	07/20/93
#
# Author:	Fred N. van Kempen, <waltje@uWalt.NL.Mugnet.ORG>
#		Copyright 1988-1993 MicroWalt Corporation
#
#		This program is free software; you can redistribute it
#		and/or  modify it under  the terms of  the GNU General
#		Public  License as  published  by  the  Free  Software
#		Foundation;  either  version 2 of the License, or  (at
#		your option) any later version.
#

CC	= gcc -pipe
LD	= gcc

CFLAGS	= -O6 -Wall -DLINUX
LDFLAGS	= -N -s

#LIBS	=


# Object modules.
OBJS	= main.o config.o daemon.o tty.o ipdump.o attach.o \
	  term.o modem.o command.o login.o 

PROTOS	= slip.o ppp.o


.c.o:		dip.h $<
		$(CC) $(CFLAGS) -c $<


all:		dip

dip:		$(OBJS) protocols.a
		$(CC) $(LDFLAGS) -o dip $(OBJS) protocols.a $(LIBS)

protocols.a:	$(PROTOS)
		@ar rcs protocols.a $(PROTOS)

clean:
		rm -f dip core *.o *.a


dummy:

# End of Makefile.
