]> pilppa.org Git - familiar-h63xx-build.git/blob - org.handhelds.familiar/packages/dash/files/makefile-build-cc.diff
OE tree imported from monotone branch org.openembedded.oz354fam083 at revision 8b12e3...
[familiar-h63xx-build.git] / org.handhelds.familiar / packages / dash / files / makefile-build-cc.diff
1 --- dash-0.5.1/src/Makefile.am.orig     2004-07-03 05:13:27.000000000 +0200
2 +++ dash-0.5.1/src/Makefile.am  2005-01-11 11:14:11.896299544 +0100
3 @@ -3,6 +3,7 @@
4  AM_CPPFLAGS = -include $(top_builddir)/config.h
5  AM_YFLAGS = -d
6  
7 +BUILD_CC ?= gcc
8  CFLAGS = -g -O2 -Wall
9  DEFS = \
10         -DBSD=1 -DSMALL -DSHELL \
11 @@ -35,6 +36,18 @@
12         mktokens mkbuiltins builtins.def mkinit.c \
13         mknodes.c nodetypes nodes.c.pat mksyntax.c mksignames.c
14  
15 +mknodes:
16 +       $(BUILD_CC) mknodes.c -o mknodes
17 +
18 +mksyntax:
19 +       $(BUILD_CC) mksyntax.c -o mksyntax
20 +
21 +mkinit:
22 +       $(BUILD_CC) mkinit.c -o mkinit
23 +
24 +mksignames:
25 +       $(BUILD_CC) mksignames.c -o mksignames
26 +                               
27  token.h: mktokens
28         sh $^
29