wolfssl-examples/project1/dtls_secured_nonblocking/Makefile

22 lines
416 B
Makefile

DEPS = ../include/unp.h
CC=gcc
CFLAGS=-Wall -I ../include -DCYASSL_DTLS
OBJ = echoserver.o
#if you are on a sunOS (System V) machine, you'll need to uncomment
#the next line.
#LIBS=-lsocket
%.o: %.c $(DEPS)
$(CC) -c -o $@ $< $(CFLAGS)
all: server
server: server-dtls-nonblocking.c
$(CC) -Wall -DCYASSL_DTLS -o server server-dtls-nonblocking.c -I ../include -lcyassl
.PHONY: clean
clean:
-rm -f *.o server