CPPFLAGS=-I../Jpeg -I../Zlib
# Comment out the following line if you use egcs :
CXXFLAGS=-O3 -Wall -fno-rtti -fno-exceptions

INCLUDES= adpcm.h        cxform.h       graphic.h      script.h       sqrt.h\
	bitmap.h       displaylist.h  matrix.h       shape.h        swf.h\
	button.h       flash.h        program.h      sound.h        text.h\
	character.h    font.h         rect.h         sprite.h	movie.h


SWFOBJS=\
	flash.o \
	character.o \
	shape.o \
	button.o \
	program.o \
	bitmap.o \
	displaylist.o \
	font.o \
	graphic.o \
	text.o \
	matrix.o \
	script.o \
	sound.o \
	sprite.o \
	movie.o \
	cxform.o \
	adpcm.o \
	sqrt.o \
	graphic16.o \
	graphic24.o \
	graphic32.o

#	bitstream.o
#	dump.o

all: libflash.a

libflash.a: $(SWFOBJS) 
	ar rcs $@ $(SWFOBJS)

$(SWFOBJS): $(INCLUDES)

clean:
	rm -f $(SWFOBJS) *~ libflash.a

.PHONY: plugin jpeg all
