mirror of
https://github.com/cesanta/mongoose.git
synced 2024-12-29 16:25:54 +08:00
8742fac5d8
CL: Mongoose Web Server: Publish sources and tests Resolves https://github.com/cesanta/mongoose/issues/745 PUBLISHED_FROM=7ecd7a3c518cfa614a6ba0838678dcb91b75a8c0
28 lines
491 B
Makefile
28 lines
491 B
Makefile
# Set OPENSSL_INCLUDE to the directory that contains the
|
|
# "openssl" include directory.
|
|
|
|
OPENSSL_INCLUDE = /usr/include
|
|
|
|
# To build without openssl comment out the "CRYPT =" line
|
|
|
|
CRYPT = crypt.o
|
|
|
|
CFLAGS = -I . -I $(OPENSSL_INCLUDE)
|
|
|
|
libccgi.a: ccgi.o prefork.o $(CRYPT)
|
|
ar r libccgi.a ccgi.o prefork.o $(CRYPT)
|
|
ranlib libccgi.a
|
|
|
|
ccgi.o: ccgi.c ccgi.h
|
|
|
|
prefork.o: prefork.c
|
|
|
|
crypt.o: crypt.c ccgi.h
|
|
|
|
test: libccgi.a
|
|
cd t; make
|
|
|
|
clean:
|
|
rm -f *.o *.a */*.o
|
|
rm -f t/test examples/dump.cgi
|