#! /bin/make -f
#
#

LD = cc
CC = cc

CFLAGS= -c -g -D_OLD_TERMIOS $(XFLAGS) 
#CFLAGS= -c -g $(XFLAGS) 

LDFLAGS= $(XFLAGS)

LVLIB = lv3.a
.c.o:
	$(CC) $(CFLAGS) $<

SRC = \
	check_rev.c \
	convert.c \
	encoder.c \
	init_lv.c \
	open_lv.c \
	pack.c \
	read_write.c

OBJ = \
	check_rev.o \
	convert.o \
	encoder.o \
	init_lv.o \
	open_lv.o \
	pack.o \
	read_write.o

default: lib

lib: $(OBJ)
	ar -rv lv3.a $(OBJ)

# DO NOT DELETE THIS LINE -- make depend depends on it.

check_rev.o: /usr/include/stdio.h /usr/include/stdlib.h
check_rev.o:  /usr/include/sys/types.h
check_rev.o:  /usr/include/sys/select.h lv3.h
check_rev.o: /usr/include/time.h
convert.o: /usr/include/stdio.h /usr/include/math.h 
convert.o:  lv3.h /usr/include/time.h
init_lv.o: /usr/include/stdio.h /usr/include/math.h 
init_lv.o:  lv3.h /usr/include/time.h
open_lv.o: /usr/include/stdio.h /usr/include/math.h 
open_lv.o:  /usr/include/ioctl.h
open_lv.o:  /usr/include/sys/termio.h
open_lv.o:  /usr/include/sys/types.h
open_lv.o: /usr/include/sys/select.h /usr/include/sys/stat.h
open_lv.o: /usr/include/sys/time.h /usr/include/fcntl.h
open_lv.o: /usr/include/fcntl.h /usr/include/sys/termio.h lv3.h
open_lv.o: /usr/include/time.h
pack.o: /usr/include/stdio.h /usr/include/math.h 
pack.o:  lv3.h /usr/include/time.h
read_write.o: /usr/include/stdio.h /usr/include/math.h 
read_write.o:  lv3.h /usr/include/time.h
tx.o: /usr/include/stdio.h /usr/include/math.h /usr/include/sys/types.h
tx.o:  
tx.o: /usr/include/sys/select.h /usr/include/sys/time.h /usr/include/signal.h
tx.o: /usr/include/sys/signal.h /usr/include/sys/schedctl.h
tx.o: /usr/include/sys/sysmp.h lv3.h /usr/include/time.h
