struct / union in initializer, RFE #901.
[sdcc.git] / sdcc-cf / packages / build.gpsim / Makefile
blob83efa78d04718150eb492be7d0d2b76204fb687b
1 include ../packages.mk
3 ifeq ($(OS), Darwin)
4 LIBTOOLIZE = glibtoolize
5 else
6 LIBTOOLIZE = libtoolize
7 endif
9 .PHONY: all
10 all: gpsim-install.tag clean
12 gpsim-download.tag:
13 svn --force export svn+ssh://borutr@svn.code.sf.net/p/gpsim/code/trunk gpsim
14 touch $@
16 gpsim-configure.tag: gpsim-download.tag
17 cd gpsim && \
18 $(LIBTOOLIZE) --force && \
19 aclocal && \
20 autoheader && \
21 automake --add-missing && \
22 autoconf && \
23 ./configure --prefix=$(LOCAL_DIR) --disable-gui CFLAGS="$(CFLAGS)" CXXFLAGS="$(CXXFLAGS)" LDFLAGS="$(LDFLAGS)"
24 touch $@
26 gpsim-make.tag: gpsim-configure.tag
27 $(MAKE) -C gpsim
28 touch $@
30 gpsim-install.tag: gpsim-make.tag
31 $(MAKE) -C gpsim install
32 touch $@
34 clean:
35 rm -rf gpsim *.tag