# Generated automatically from Makefile.in by configure.
srcdir=.

# Generated automatically from Makefile.in by configure.
# Makefile  - amp  audio mpeg player v0.7
# tomislav uzelac  1996,1997


#DEBUG = -DDEBUG

# ---- Linux/i586 ----

CC = gcc
DEFINES = -DNO_BYTE_SWAPPING -DOS_Linux -DARCH_i586 -I/home/source/BitchX/include -I./../../include
CFLAGS = -fPIC -O6 -ffast-math -fomit-frame-pointer -i586 -pipe ${DEFINES} ${DEBUG}
#CFLAGS = -O -g -ffast-math -i586 -pipe ${DEFINES} ${DEBUG}
SHLIB_LD = gcc -shared
LDFLAGS = -shared
SHLIB_SUFFIX =		.so

#
# you should probably leave these untouched ####################################
#

OBJ = getbits.o huffman.o layer3.o getdata.o misc2.o\
	transform.o audio.o buffer.o audioIO.o position.o layer2.o util.o

all: amp${SHLIB_SUFFIX}

.PHONY: clean cleandist dep 
clean:
	rm -f *.o amp.so core *.a *.dll *~

cleandist: clean
	rm -f *~ config.status $(srcdir)/config.cache config.log config.h Makefile .depend

distclean: cleandist

amp${SHLIB_SUFFIX}: $(OBJ) 
	$(SHLIB_LD) -o amp${SHLIB_SUFFIX} $(OBJ)

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

.c.s:
	$(CC) -S $(CFLAGS) $(DEFINES) $< 

depend:
	gcc -MM ${DEFINES} ${DEBUG} *.c > .depend

#-include .depend
