This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: stampy error running Make after installing update 2.4.1.1 to Cygwin64
- From: Robert May <tpibob at gmail dot com>
- To: "cygwin at cygwin dot com" <cygwin at cygwin dot com>
- Date: Wed, 27 Jan 2016 17:10:15 +1000
- Subject: Re: stampy error running Make after installing update 2.4.1.1 to Cygwin64
- Authentication-results: sourceware.org; auth=none
I still can.t make sense of it
below is the contents of makefile
the end of running make is still the same
$ make
makefile:1: *** missing separator. Stop.
maybe someone can make sense of the below
Bob
m#
# - the linux x86-64 platform is supported, with Python 2.7. Both
# 2- and 4-byte 4-byte Unicode representations (UCS2 and UCS4) are supported.
#
SHELL=/bin/bash
python?=python
#############################
# User targets
#############################
all:
@$(MAKE) ucs=`$(python) -c "import sys;print sys.maxunicode> 65536 and 'ucs4' or 'ucs2'"` platform=`$(python) -c "import sys;print {'linux2':'linux-x86_64','darwin':'macosx-10.6-universal'}.get(sys.platform,'unknown')"` build-stampy
clean:
-rm maptools.so
-rm build/*/*.pyc
#############################
# End of user targets
#############################
build-stampy:
@if [[ `$(python) --version 2>&1 |awk -F "." '{print $$2}'` -eq 7 ]]; then \
$(MAKE) bdir=build/$(platform)-2.7-$(ucs) python=python2.7 platform=$(platform) buildall ; \
else \
echo Python version 2.7 is required; \
fi
## remove \ from 25, 26, 27 & 28 not thots not it put them back
objs=$(bdir)/pyx/maptools.o $(bdir)/c/maputils.o $(bdir)/c/alignutils.o $(bdir)/readalign.o $(bdir)/algebras.o $(bdir)/frontend.o
$(bdir)/%.o:
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -fPIC `$(python)-config --includes` -c ext/readalign/$*.cc -o $@
buildall: $(bdir)/readalign.o $(bdir)/frontend.o $(bdir)/algebras.o
cp -r build/$(python)/* .
ifeq ($(platform),linux-x86_64)
g++ `$(python)-config --ldflags` -pthread -shared $(objs) -o maptools.so
else
g++ `$(python)-config --ldflags` -pthread -dynamiclib $(objs) -o maptools.so
endif
Bob May
DNA Projects I2b L415, I2c L596 HG, Spriggs of Cleve SA Family & Tyler Surname and ISOGG YTree
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple