Last change
on this file since 74 was
7,
checked in by djay, 14 years ago
|
Remove uneeded CFLAGS from the cgic Makefile.
|
File size:
604 bytes
|
Rev | Line | |
---|
[1] | 1 | CFLAGS=-g -Wall |
---|
| 2 | CC=gcc |
---|
| 3 | AR=ar |
---|
| 4 | RANLIB=ranlib |
---|
[6] | 5 | LIBS=-L./ -lcgic /usr/lib/libfcgi.a |
---|
[1] | 6 | |
---|
| 7 | all: libcgic.a cgictest.cgi capture |
---|
| 8 | |
---|
| 9 | install: 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 | |
---|
| 14 | libcgic.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 | |
---|
| 21 | cgictest.cgi: cgictest.o libcgic.a |
---|
| 22 | gcc cgictest.o -o cgictest.cgi ${LIBS} |
---|
| 23 | |
---|
| 24 | capture: capture.o libcgic.a |
---|
| 25 | gcc capture.o -o capture ${LIBS} |
---|
| 26 | |
---|
| 27 | clean: |
---|
| 28 | rm -f *.o *.a cgictest.cgi capture |
---|
| 29 | |
---|
Note: See
TracBrowser
for help on using the repository browser.