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 (13 years, 1 month ago) by misho
Branches: libpdel, MAIN
CVS tags: v0_5_3, HEAD
libpdel

    1: # $Id: GNUmakefile,v 1.1.1.1 2012/02/21 23:25:53 misho Exp $
    2: 
    3: prefix=		/usr/local
    4: srcs=		main.c
    5: objs=		$(srcs:.c=.o)
    6: sslfiles=	demo.key demo.crt
    7: prog=		demo_server
    8: CFLAGS=		-I$(prefix)/include -DOPENSSL_NO_KRB5 -Wall
    9: cc=		cc
   10: 
   11: $(prog):	$(objs) $(sslfiles)
   12: 	$(cc) -o $@ $(objs) -L$(prefix)/lib \
   13: 		-lpdel -lssl -lcrypto -lexpat -lpthread
   14: 
   15: %.o:		%.c
   16: 	$(cc) -c -o $@ $(CFLAGS) $+
   17: 
   18: $(sslfiles):
   19: 	cd cert && make
   20: 
   21: clean:
   22: 	rm -f $(sslfiles) $(prog) $(objs)
   23: 	cd cert && make clean
   24: 

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