Permalink
Browse files

further Makefile optimization

  • Loading branch information...
1 parent fe6e132 commit 3ea6afe572a9353d393b3df26ff34fc75c7eadd4 Alan Dipert committed Dec 18, 2008
Showing with 5 additions and 2 deletions.
  1. +5 −2 Makefile
View
@@ -1,10 +1,13 @@
# You might need to change this to point to the location
# of the FastCGI header files.
-FCGI_INCLUDE=-I/usr/local/include/fcgi_stdio.h
+FCGI_INCLUDE=-I/usr/local/include/
FCGI_LIBS=-lfcgi
+# You might also have to change where CURL lives:
+CURL_LIBS=-L/usr/local/lib -lcurl
+
CC=gcc
-LIBS=-L/usr/local/lib cgic/libcgic.a -lcurl
+LIBS=$(CURL_LIBS) cgic/libcgic.a
INCLUDE=-Icgic
CFLAGS+=-g -Wall
#CFLAGS+=-O2

0 comments on commit 3ea6afe

Please sign in to comment.