#
#   $Id: Makefile.in,v 1.1.1.1 2000/05/25 00:28:49 route Exp $
#
#   Libnet OSPF Makefile.in
#   Copyright (c) 1999, 2000 Mike D. Schiffman <mike@infonexus.com>
#   @configure_input@

CC          =   @CC@
CFLAGS      =   @CFLAGS@
OBJECTS     =   ospf_hello.o     \
		ospf_lsa.o       \
		ospf_request.o   \

DEFINES     +=  @DEFS@
LIBS        =   -L../../lib/ -lnet @ADDITIONAL_LIBS@

.c.o:
	$(CC) $(CFLAGS) $(DEFINES) -c $< -o $@

all: 	ospf_hello       \
	ospf_lsa         \
	ospf_request
 

ospf_hello: $(OBJECTS)
	$(CC) ospf_hello.o $(LIBS) -o ./ospf_hello

ospf_lsa: $(OBJECTS)
	$(CC) ospf_lsa.o $(LIBS) -o ./ospf_lsa

ospf_request: $(OBJECTS)
	$(CC) ospf_request.o $(LIBS) -o ./ospf_request

clean:
	rm -f *.core ospf_hello ospf_lsa ospf_request *.o

distclean: clean
	rm -f Makefile

# EOF
