mirror of
https://github.com/cesanta/mongoose.git
synced 2024-12-21 13:42:15 +08:00
8742fac5d8
CL: Mongoose Web Server: Publish sources and tests Resolves https://github.com/cesanta/mongoose/issues/745 PUBLISHED_FROM=7ecd7a3c518cfa614a6ba0838678dcb91b75a8c0
15 lines
271 B
Makefile
15 lines
271 B
Makefile
# set OPENSSL_LIB to the directory containing openssl libcrypto
|
|
|
|
OPENSSL_LIB = /usr/lib
|
|
|
|
CFLAGS = -I ..
|
|
LDFLAGS = -L .. -L $(OPENSSL_LIB)
|
|
|
|
all: test.sh test
|
|
./test.sh
|
|
|
|
test: test.o ../libccgi.a
|
|
$(CC) -o test $(LDFLAGS) test.o -lccgi -lcrypto
|
|
|
|
test.o: test.c ../ccgi.h
|