]> pilppa.org Git - familiar-h63xx-build.git/blob - org.handhelds.familiar/packages/comprec/comprec-0.01/makefile.patch
OE tree imported from monotone branch org.openembedded.oz354fam083 at revision 8b12e3...
[familiar-h63xx-build.git] / org.handhelds.familiar / packages / comprec / comprec-0.01 / makefile.patch
1
2 #
3 # Patch managed by http://www.mn-logistik.de/unsupported/pxa250/patcher
4 #
5
6 --- comprec-0.01/Makefile~makefile      2003-01-21 16:29:20.000000000 -0500
7 +++ comprec-0.01/Makefile       2004-03-04 03:34:10.000000000 -0500
8 @@ -1,16 +1,17 @@
9  ZROOT=/home/zaurus/develop
10 -CC_NATIVE=gcc
11 -CC=$(ZROOT)/arm/bin/arm-linux-gcc
12 -AS=$(ZROOT)/arm/bin/arm-v4l-linux-as
13 -STRIP=$(ZROOT)/arm/bin/arm-v4l-linux-strip
14 +BUILD_CC=gcc
15 +CC=$(BUILD_CC)
16 +AS=as  
17 +LD=ld
18 +STRIP=strip
19  IPKG_BUILD=./ipkg-build
20  
21 -CFLAGS+=-Wall -O2 -fno-exceptions -g
22 -LDFLAGS+=-lm -g
23 +CFLAGS=-Wall -O2 -fno-exceptions
24 +LDFLAGS=
25 +LIBS=-lm
26  
27  VERSION=0.01
28  
29 -
30  OBJECTS=bitstream.o huffman.o layer3.o loop.o main.o \
31         utils.o wave.o coder_sa.o coder.o
32  CSOURCES=bitstream.c coder.c huffman.c layer3.c loop.c main.c \
33 @@ -21,14 +22,14 @@
34         README ipkg-build control.in
35  
36  shine: table1.h table2.h $(OBJECTS) 
37 -       $(CC) -o $@ $(OBJECTS) $(LDFLAGS)
38 +       $(CC) -o $@ $(LDFLAGS) $(LIBS) $(OBJECTS)
39         $(STRIP) $@
40  
41  table1.h table2.h: tables
42 -       tables
43 +       ./tables
44  
45  tables: tables.c
46 -       $(CC_NATIVE) -o $@ $(CFLAGS) $< -lm
47 +       $(BUILD_CC) -o $@ $(CFLAGS) $< -lm
48  
49  clean:
50         rm -f $(OBJECTS) shine .depend