Pick three bugfixes from next branch to trunk for inclusion in 4.5.0 RC2, as discusse...
[sdcc.git] / sdcc-cf / packages / build.flex / Makefile
blob7c2b95e8537a6462ceea105f8dd11da5f5badb50
1 include ../packages.mk
3 PACKAGE=flex
4 VERSION=2.5.35
5 # Wait untill gputils 1.30 with fixed patch "#270 Gputils doesn't compile with newer versions of bison and flex" is released
6 #VERSION=2.5.37
7 PACKAGE_FILE=$(PACKAGE)-$(VERSION).tar.bz2
9 PACKAGE_DIR=$(PACKAGE)-$(VERSION)
11 all: do-all
13 download/$(PACKAGE_FILE):
14 wget -P download http://sourceforge.net/projects/flex/files/$(PACKAGE_FILE)
16 $(PACKAGE)-unpack.tag: unpack-downloaded-package
17 touch $@
19 $(PACKAGE)-configure.tag: $(PACKAGE)-unpack.tag
20 cd $(PACKAGE_DIR) && \
21 ./configure --prefix=$(LOCAL_DIR)
22 touch $@
24 $(PACKAGE)-make.tag: $(PACKAGE)-configure.tag
25 $(MAKE) -C $(PACKAGE_DIR)
26 touch $@
28 $(PACKAGE)-install.tag: $(PACKAGE)-make.tag
29 $(MAKE) -C $(PACKAGE_DIR) install
30 touch $@
32 include ../common_deps.mk