Changeset 346


Ignore:
Timestamp:
Dec 7, 2011, 2:05:57 PM (13 years ago)
Author:
neteler
Message:

fix compilation on 64bit linux

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/thirds/cgic206/Makefile

    r308 r346  
    11OS:=$(shell uname -s)
     2CPU:=$(shell uname -m)
    23ifeq ($(OS),Darwin)
    34        MACOS_CFLAGS=-arch x86_64
    45        LIBS= -L./ -lcgic /usr/lib/libfcgi.dylib
    56else
     7ifeq ($(CPU),x86_64)
     8        LIBS= -L./ -lcgic /usr/lib64/libfcgi.so
     9else
    610        LIBS= -L./ -lcgic /usr/lib/libfcgi.a
     11endif
    712endif
    813CFLAGS=-g -Wall ${MACOS_CFLAGS}
     
    1419
    1520install: libcgic.a
     21        mkdir -p ../../dist/lib
    1622        cp libcgic.a  ../../dist/lib
    17         cp cgic.h  ../../dist//include
    18         @echo libcgic.a is in  ../../dist/lib and cgic.h is in  ../../dist//include.
     23        cp cgic.h  ../../dist/include
     24        @echo libcgic.a is in  ../../dist/lib/ and cgic.h is in  ../../dist/include/
    1925
    2026libcgic.a: cgic.o cgic.h
Note: See TracChangeset for help on using the changeset viewer.

Search

Context Navigation

ZOO Sponsors

http://www.zoo-project.org/trac/chrome/site/img/geolabs-logo.pnghttp://www.zoo-project.org/trac/chrome/site/img/neogeo-logo.png http://www.zoo-project.org/trac/chrome/site/img/apptech-logo.png http://www.zoo-project.org/trac/chrome/site/img/3liz-logo.png http://www.zoo-project.org/trac/chrome/site/img/gateway-logo.png

Become a sponsor !

Knowledge partners

http://www.zoo-project.org/trac/chrome/site/img/ocu-logo.png http://www.zoo-project.org/trac/chrome/site/img/gucas-logo.png http://www.zoo-project.org/trac/chrome/site/img/polimi-logo.png http://www.zoo-project.org/trac/chrome/site/img/fem-logo.png http://www.zoo-project.org/trac/chrome/site/img/supsi-logo.png http://www.zoo-project.org/trac/chrome/site/img/cumtb-logo.png

Become a knowledge partner

Related links

http://zoo-project.org/img/ogclogo.png http://zoo-project.org/img/osgeologo.png