This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: stampy error running Make after installing update 2.4.1.1 to Cygwin64


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]