Last change
on this file since 922 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 | |
---|
1 | GEODIR=\MMBK\SRCS\fcgi-2.4.1-SNAP-0311112127\ |
---|
2 | DESTDIR=.. |
---|
3 | CFLAGS=-g -Wall |
---|
4 | CC=cl /TP |
---|
5 | LIBS=$(GEODIR)/libfcgi/Release/libfcgi.lib /nologo |
---|
6 | LIBS1=./libcgic.lib |
---|
7 | |
---|
8 | CFLAGS=/EHa /nologo /DCRT_SECURE_NO_WARNING /MD /W2 /O2 /D "WIN32" \ |
---|
9 | -I $(GEODIR)\include |
---|
10 | |
---|
11 | all: libcgic.lib #cgictest.exe capture.exe |
---|
12 | |
---|
13 | install: 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 | |
---|
18 | libcgic.lib: cgic.obj cgic.h |
---|
19 | if exist cgic.lib del cgic.lib |
---|
20 | lib /out:libcgic.lib cgic.obj $(LIBS) |
---|
21 | |
---|
22 | cgictest.obj: cgictest.c libcgic.lib |
---|
23 | $(CC) $(CFLAGS) -c cgictest.c |
---|
24 | |
---|
25 | cgictest.exe: cgictest.obj |
---|
26 | link cgictest.obj $(LIBS) /out:cgictest.exe |
---|
27 | |
---|
28 | cgic.obj: |
---|
29 | $(CC) $(CFLAGS) -c cgic.c |
---|
30 | |
---|
31 | capture.exe: capture.obj libcgic.lib |
---|
32 | $(CC) $(CFLAGS) capture.c $(LIBS) |
---|
33 | |
---|
34 | clean: |
---|
35 | erase *.obj *.lib *.exe *.manifest |
---|
Note: See
TracBrowser
for help on using the repository browser.