summaryrefslogtreecommitdiffstats
path: root/g729b/droid-makefile
blob: 8b1ef070d3a768fe312f1e1f9511a22991daec8a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
APP := lib$(PROJECT)_$(MARCH).$(EXT)

CFLAGS := $(CFLAGS_LIB) -D__unix__
LDFLAGS := $(LDFLAGS_LIB)

all: $(APP)

OBJS = acelp_ca.o\
		basic_op.o\
		bits.o\
		calcexc.o\
		cod_ld8a.o\
		cor_func.o\
		dec_gain.o\
		dec_lag3.o\
		dec_ld8a.o\
		dec_sid.o\
		de_acelp.o\
		dspfunc.o\
		dtx.o\
		filter.o\
		gainpred.o\
		lpc.o\
		lpcfunc.o\
		lspdec.o\
		lspgetq.o\
		oper_32b.o\
		pitch_a.o\
		postfilt.o\
		post_pro.o\
		pred_lt3.o\
		pre_proc.o\
		p_parity.o\
		qsidgain.o\
		qsidlsf.o\
		qua_gain.o\
		qua_lsp.o\
		tab_dtx.o\
		tab_ld8a.o\
		taming.o\
		util.o\
		vad.o

	
$(APP): $(OBJS)
ifeq ($(EXT), a)
	$(AR) rcs $@ $^
else
	$(CC) $(LDFLAGS) -o $@ $^
endif

%.O: %.C
	$(CC) -c $(INCLUDE) $(CFLAGS) $< -o $@
	
install: $(APP)
	cp -f $(APP) ../thirdparties/android/lib

shell:
	$(ANDROID_SDK_ROOT)/tools/adb shell

run:
	$(ANDROID_SDK_ROOT)/tools/adb shell $(LIB_DIR)/$(APP)
	
clean:
	@rm -f $(OBJS) $(APP)
OpenPOWER on IntegriCloud