source: trunk/thirds/cgic206/makefile.vc @ 693

Last change on this file since 693 was 364, checked in by djay, 12 years ago

Update to make ZOO-Kernel able to compile and run from Windows Platforms. A special thanks to Espen Messel, Knut Landmark and Benrd Härtwig for providing many patches that I can successfully apply on the SVN source tree and to Farkas for continuing requesting for ZOO-Kernel to run on Windows platforms privately and through the ZOO-Discuss mailing list.

File size: 911 bytes
Line 
1GEODIR=\MMBK\SRCS\fcgi-2.4.1-SNAP-0311112127\
2DESTDIR=..
3CFLAGS=-g -Wall
4CC=cl /TP
5LIBS=$(GEODIR)/libfcgi/Release/libfcgi.lib /nologo
6LIBS1=./libcgic.lib
7
8CFLAGS=/EHa /nologo /DCRT_SECURE_NO_WARNING /MD /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