source: trunk/thirds/cgic206/Makefile @ 40

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

Remove uneeded CFLAGS from the cgic Makefile.

File size: 604 bytes
Line 
1CFLAGS=-g -Wall
2CC=gcc
3AR=ar
4RANLIB=ranlib
5LIBS=-L./ -lcgic /usr/lib/libfcgi.a
6
7all: libcgic.a cgictest.cgi capture
8
9install: libcgic.a
10        cp libcgic.a  ../../dist/lib
11        cp cgic.h  ../../dist//include
12        @echo libcgic.a is in  ../../dist/lib and cgic.h is in  ../../dist//include.
13
14libcgic.a: cgic.o cgic.h
15        rm -f libcgic.a
16        $(AR) rc libcgic.a cgic.o
17        $(RANLIB) libcgic.a
18
19#mingw32 and cygwin users: replace .cgi with .exe
20
21cgictest.cgi: cgictest.o libcgic.a
22        gcc cgictest.o -o cgictest.cgi ${LIBS}
23
24capture: capture.o libcgic.a
25        gcc capture.o -o capture ${LIBS}
26
27clean:
28        rm -f *.o *.a cgictest.cgi capture
29
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