mirror of
https://github.com/openssl/openssl.git
synced 2025-02-23 14:42:15 +08:00
15 lines
297 B
Makefile
15 lines
297 B
Makefile
|
CFLAGS = -I../../include -g -Wall
|
||
|
LDFLAGS = -L../..
|
||
|
LDLIBS = -lcrypto -lssl -lnghttp3
|
||
|
|
||
|
all: ossl-nghttp3-demo
|
||
|
|
||
|
clean:
|
||
|
$(RM) -f ossl-nghttp3-demo *.o
|
||
|
|
||
|
ossl-nghttp3-demo: ossl-nghttp3-demo.o ossl-nghttp3.o
|
||
|
$(CC) $(CFLAGS) -o "$@" $^ $(LDFLAGS) $(LDLIBS)
|
||
|
|
||
|
%.o: %.c
|
||
|
$(CC) $(CFLAGS) -c -o "$@" "$<"
|