source: trunk/thirds/cgic206/Makefile @ 6

Last change on this file since 6 was 6, checked in by djay, 14 years ago

Update the cgic library to let run the ZOO Kernel from the command line.

File size: 641 bytes
Line 
1CFLAGS=-g -Wall
2CC=gcc
3AR=ar
4RANLIB=ranlib
5LIBS=-L./ -lcgic /usr/lib/libfcgi.a
6CFLAGS=-I//var/www/localhost/include
7
8all: libcgic.a cgictest.cgi capture
9
10install: libcgic.a
11        cp libcgic.a  ../../dist/lib
12        cp cgic.h  ../../dist//include
13        @echo libcgic.a is in  ../../dist/lib and cgic.h is in  ../../dist//include.
14
15libcgic.a: cgic.o cgic.h
16        rm -f libcgic.a
17        $(AR) rc libcgic.a cgic.o
18        $(RANLIB) libcgic.a
19
20#mingw32 and cygwin users: replace .cgi with .exe
21
22cgictest.cgi: cgictest.o libcgic.a
23        gcc cgictest.o -o cgictest.cgi ${LIBS}
24
25capture: capture.o libcgic.a
26        gcc capture.o -o capture ${LIBS}
27
28clean:
29        rm -f *.o *.a cgictest.cgi capture
30
Note: See TracBrowser for help on using the repository browser.

Search

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