# Generated automatically from Makefile.in by configure.
# DO NOT EDIT BELOW! ##########################################################
# (unless, of course, you know what you are doing :) ##########################

srcdir=.


FLAGS=  -DSG_H='1'  -DPG_H='1'   -Dsize16='short' -Dsize32='int'  -DLINUX
OPT=-O20 -ffast-math -fsigned-char -fomit-frame-pointer -finline-functions $(FLAGS)
DEBUG=-g -Wall -fsigned-char $(FLAGS)
CC=gcc
LDFLAGS= $(FLAGS)
AR=ar
RANLIB=ranlib
INCLUDE = -I../include

OFILES = trans_callback.o err_translate.o scsi_common.o\
	linux_sg.o linux_pg.o linux_ioctl.o

all: 
	$(MAKE) trans_paranoia.a CFLAGS="$(OPT)" 

debug: 
	$(MAKE) trans_paranoia.a CFLAGS="$(DEBUG)"

trans_paranoia.a: 	$(OFILES)	
		$(AR) -r trans_paranoia.a $(OFILES)
		$(RANLIB) trans_paranoia.a
.c.o:
	$(CC) $(CFLAGS) $(INCLUDE) -c $<

clean:
	-rm -f *.o core *~ *.a *.out 

distclean:
	-rm -f *.o core *~ *.a *.out Makefile
