curl-library
in hiper own *FLAGS
From: Alexander Lazic <al-curllibrary_at_none.at>
Date: Sat, 7 Jan 2006 10:39:14 +0100
Date: Sat, 7 Jan 2006 10:39:14 +0100
Hi,
how about to change the Makefile in the hiper-subdir, because if anybody
have installed some Libs in a 'private' location, as i ;-):
make CFLAGS=-I/home/al/libs/libevent/include
I have added a possible suggestion ;-)
--- --- Makefile_orig 2006-01-07 01:09:21.000000000 +0100 +++ Makefile 2006-01-07 10:30:21.000000000 +0100 @@ -3,23 +3,23 @@ # During dev at least, we use a static libcurl. # -LDFLAGS = -lcrypt -lidn -lssl -lcrypto -ldl -lz -lresolv -L../ares/.libs -lcares +MYLDFLAGS = -lcrypt -lidn -lssl -lcrypto -ldl -lz -lresolv -L../ares/.libs -lcares $(LDFLAGS) LIBCURL = -L../lib/.libs/ -lcurl -CFLAGS = -I../include -g -DHAVE_CURL_MULTI_SOCKET +MYCFLAGS = -I../include -g -DHAVE_CURL_MULTI_SOCKET $(CFLAGS) all: shiper hiper ulimiter hiper: hiper.o $(LIBCURL) - $(CC) -o $@ $< $(LIBCURL) $(LDFLAGS) + $(CC) -o $@ $< $(LIBCURL) $(MYLDFLAGS) hiper.o: hiper.c - $(CC) $(CFLAGS) -c $< + $(CC) $(MYCFLAGS) -c $< shiper: shiper.o $(LIBCURL) - $(CC) -o $@ $< $(LIBCURL) $(LDFLAGS) + $(CC) -o $@ $< $(LIBCURL) $(MYLDFLAGS) shiper.o: shiper.c - $(CC) $(CFLAGS) -c $< + $(CC) $(MYCFLAGS) -c $< ulimiter: ulimiter.c $(CC) -o $@ $< --- greetings AlexReceived on 2006-01-07