added *.lib to clean target
[swftools.git] / lib / Makefile.in
index ec63139..4fec83b 100644 (file)
@@ -3,7 +3,10 @@ srcdir = @srcdir@
 top_srcdir = @top_srcdir@
 include ../Makefile.common
 
-all: librfxswf$(A) q.$(O) os.$(O) gfxtools.$(O) gfxfont.$(O) art/libart$(A) png.$(O) mp3.$(O) wav.$(O)
+DEVICES = devices/file.$(O) devices/swf.$(O) devices/render.$(O)
+
+all: librfxswf$(A) q.$(O) mem.$(O) os.$(O) gfxtools.$(O) gfxfont.$(O) art/libart$(A) png.$(O) mp3.$(O) wav.$(O) $(DEVICES)
+
 
 lame_objects = @lame_objects@
 
@@ -17,6 +20,8 @@ drawer.$(O): drawer.c drawer.h
        $(C) drawer.c -o $@
 q.$(O): q.c q.h $(top_builddir)/config.h
        $(C) q.c -o $@
+mem.$(O): mem.c mem.h $(top_builddir)/config.h
+       $(C) mem.c -o $@
 png.$(O): png.c png.h $(top_builddir)/config.h
        $(C) png.c -o $@
 mp3.$(O): mp3.c mp3.h $(top_builddir)/config.h
@@ -52,15 +57,22 @@ h.263/h263tables.$(O): h.263/h263tables.c h.263/h263tables.h
 h.263/swfvideo.$(O): h.263/swfvideo.c h.263/h263tables.h h.263/dct.h
        $(C) h.263/swfvideo.c -o h.263/swfvideo.$(O)
 
-librfxswf$(A): Makefile rfxswf.$(O) drawer.$(O) bitio.$(O) log.$(O) MD5.$(O) $(lame_objects) $(h263_objects) $(actioncompiler_objects)
-       $(AR) r librfxswf$(A) rfxswf.$(O) drawer.$(O) bitio.$(O) log.$(O) MD5.$(O) $(lame_objects) $(h263_objects) $(actioncompiler_objects)
+devices/swf.$(O):  devices/swf.c devices/swf.h
+       $(C) devices/swf.c -o devices/swf.$(O)
+devices/file.$(O):  devices/file.c devices/file.h
+       $(C) devices/file.c -o devices/file.$(O)
+devices/render.$(O):  devices/render.c devices/render.h
+       $(C) devices/render.c -o devices/render.$(O)
+
+librfxswf$(A): Makefile rfxswf.$(O) drawer.$(O) bitio.$(O) log.$(O) MD5.$(O) mem.$(O) $(lame_objects) $(h263_objects) $(actioncompiler_objects)
+       $(AR) r librfxswf$(A) rfxswf.$(O) drawer.$(O) bitio.$(O) log.$(O) MD5.$(O) mem.$(O) $(lame_objects) $(h263_objects) $(actioncompiler_objects)
        $(RANLIB) librfxswf$(A)
 
 install:
 uninstall:
 
 clean: 
-       rm -f *.o *.obj *.lo *.a *.la gmon.out
+       rm -f *.o *.obj *.lo *.a *.lib *.la gmon.out
        cd lame && $(MAKE) clean && cd .. || true
        cd action && $(MAKE) clean && cd ..
        cd python && $(MAKE) clean && cd ..