6 SRCS
= crc.c resample.c bit_allocate.c bitstream.c downmix.c imdct.c imdct_mlib.c parse.c
9 CFLAGS
= $(MLIB_INC
) $(OPTFLAGS
) -I..
16 $(CC
) -c
$(CFLAGS
) -o
$@
$<
19 $(AR
) r
$(LIBNAME
) $(OBJS
)
22 test: $(LIBNAME
) test.c
23 $(CC
) $(CFLAGS
) test.c ..
/cpudetect.c
-o
test ..
/osdep
/libosdep.a .
/liba52.a
-lm
25 test2
: $(LIBNAME
) test.c
26 $(CC
) $(CFLAGS
) test.c
-o test2 ..
/libac3
/libac3.a .
/liba52.a
-lm
34 rm -f
test *.o
*.a
*~ .depend
39 $(CC
) -MM
$(CFLAGS
) $(SRCS
) 1>.depend
42 # include dependency files if they exist
44 ifneq ($(wildcard .depend
),)