view src/aac/libfaad2/Makefile @ 894:f19e6748d8eb trunk

[svn] maintenance of build system: - link for OBJECTIVE_LIBS had not occurred even if OBJECTIVE_LIBS_NOINST was re-linked. LIBDEP macro is introduced to indicate dependency. - make rules such as $(AR) cq $@ $(OBJECTS) in individual Makefile have been removed. these linkage will be done through objective.mk. - *.h has been removed from SOURCES. these files had been passed to linker as object files.
author yaz
date Sat, 24 Mar 2007 09:08:58 -0700
parents dae9233742ae
children 22a470857579
line wrap: on
line source

include ../../../mk/rules.mk
include ../../../mk/init.mk

CFLAGS += -I../include -I../../.. -I. $(PICFLAGS)

OBJECTIVE_LIBS_NOINST = libfaad.a

LDFLAGS += -lm

SOURCES = bits.c cfft.c decoder.c drc.c \
	drm_dec.c error.c filtbank.c \
	ic_predict.c is.c lt_predict.c mdct.c mp4.c ms.c output.c pns.c \
	ps_dec.c ps_syntax.c \
	pulse.c specrec.c syntax.c tns.c hcr.c huffman.c \
	rvlc.c ssr.c ssr_fb.c ssr_ipqf.c common.c \
	sbr_dct.c sbr_e_nf.c sbr_fbt.c sbr_hfadj.c sbr_hfgen.c \
	sbr_huff.c sbr_qmf.c sbr_syntax.c sbr_tf_grid.c sbr_dec.c

OBJECTS = ${SOURCES:.c=.o}

include ../../../mk/objective.mk