File:  [ELWIX - Embedded LightWeight unIX -] / embedaddon / libpdel / http / test / GNUmakefile
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs - revision graph
Tue Feb 21 23:25:53 2012 UTC (12 years, 8 months ago) by misho
Branches: libpdel, MAIN
CVS tags: v0_5_3, HEAD
libpdel

# $Id: GNUmakefile,v 1.1.1.1 2012/02/21 23:25:53 misho Exp $

prefix=		/usr/local
srcs=		main.c
objs=		$(srcs:.c=.o)
sslfiles=	demo.key demo.crt
prog=		demo_server
CFLAGS=		-I$(prefix)/include -DOPENSSL_NO_KRB5 -Wall
cc=		cc

$(prog):	$(objs) $(sslfiles)
	$(cc) -o $@ $(objs) -L$(prefix)/lib \
		-lpdel -lssl -lcrypto -lexpat -lpthread

%.o:		%.c
	$(cc) -c -o $@ $(CFLAGS) $+

$(sslfiles):
	cd cert && make

clean:
	rm -f $(sslfiles) $(prog) $(objs)
	cd cert && make clean


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>