Last change
on this file since 1 was
1,
checked in by djay, 15 years ago
|
Initial ZOO SVN Repository Import.
|
File size:
660 bytes
|
Line | |
---|
1 | CFLAGS=-g -Wall |
---|
2 | CC=gcc |
---|
3 | AR=ar |
---|
4 | RANLIB=ranlib |
---|
5 | LIBS=-L./ -lcgic ../fcgi-2.4.0/libfcgi/.libs/libfcgi.a |
---|
6 | CFLAGS=-I//var/www/localhost/include |
---|
7 | |
---|
8 | all: libcgic.a cgictest.cgi capture |
---|
9 | |
---|
10 | install: 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 | |
---|
15 | libcgic.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 | |
---|
22 | cgictest.cgi: cgictest.o libcgic.a |
---|
23 | gcc cgictest.o -o cgictest.cgi ${LIBS} |
---|
24 | |
---|
25 | capture: capture.o libcgic.a |
---|
26 | gcc capture.o -o capture ${LIBS} |
---|
27 | |
---|
28 | clean: |
---|
29 | rm -f *.o *.a cgictest.cgi capture |
---|
30 | |
---|
Note: See
TracBrowser
for help on using the repository browser.