source: branches/branch-1.2/thirds/cgic206/makefile.vc @ 822

Last change on this file since 822 was 217, checked in by djay, 13 years ago

Merge trunk r111:r216 into branch-1.2

File size: 878 bytes
Line 
1GEODIR=C:/OSGeo4W
2DESTDIR=C:\OSGeo4W
3CFLAGS=-g -Wall
4CC=cl /TP
5LIBS=$(GEODIR)/lib/libfcgi.lib /nologo
6LIBS1=./libcgic.lib
7
8CFLAGS=/EHa /nologo /DCRT_SECURE_NO_WARNING /MT /W2 /O2 /D "WIN32" \
9        -I $(GEODIR)/include
10
11all: libcgic.lib #cgictest.exe capture.exe
12
13install: libcgic.lib
14        copy libcgic.lib  $(DESTDIR)\lib
15        copy cgic.h  $(DESTDIR)\include
16        @echo libcgic.lib is now installed in  $(DESTDIR)\lib and cgic.h is in  $(DESTDIR)\include.
17
18libcgic.lib: cgic.obj cgic.h
19        if exist cgic.lib del cgic.lib
20        lib /out:libcgic.lib cgic.obj $(LIBS)
21
22cgictest.obj: cgictest.c libcgic.lib
23        $(CC) $(CFLAGS) -c cgictest.c
24
25cgictest.exe: cgictest.obj
26        link cgictest.obj $(LIBS) /out:cgictest.exe
27
28cgic.obj:
29        $(CC) $(CFLAGS) -c cgic.c
30
31capture.exe: capture.obj libcgic.lib
32        $(CC) $(CFLAGS) capture.c $(LIBS)
33
34clean:
35        erase *.obj *.lib *.exe *.manifest
Note: See TracBrowser for help on using the repository browser.

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