blob: 00f631443baeeb5ac8640f8549d15736031187ee (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
# Tested on Windows 7 with MinGW-w64
CC=gcc
CFLAGS=-c -Wall
LDFLAGS= -leay32 -lssl32
all: test_client
test_client: test_client.o openssl_hostname_validation.o
$(CC) test_client.o openssl_hostname_validation.o -o test_client $(LDFLAGS)
test_client.o: test_client.c
$(CC) $(CFLAGS) test_client.c
openssl_hostname_validation.o: openssl_hostname_validation.c
$(CC) $(CFLAGS) openssl_hostname_validation.c
clean:
rm -rf *.o test_client.exe
|