We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e6189cc commit b632bb5Copy full SHA for b632bb5
1 file changed
dtls-mcast/Makefile
@@ -1,32 +1,13 @@
1
# DTLS Multicast Examples Makefile
2
CC = gcc
3
4
-# Path to wolfSSL source directory (adjust as needed)
5
-WOLFSSL_DIR = ../../wolfssl
6
-
7
-CFLAGS = -Wall -Wextra -I$(WOLFSSL_DIR) -I$(WOLFSSL_DIR)/wolfssl
8
-LIBS = $(WOLFSSL_DIR)/src/.libs/libwolfssl.a -lm -lpthread
9
10
-# option variables
11
-DEBUG_FLAGS = -g3 -DDEBUG -O0
12
-OPTIMIZE = -Os
13
14
-# Options - uncomment DEBUG_FLAGS for debugging
15
-#CFLAGS+=$(DEBUG_FLAGS)
16
-CFLAGS+=$(OPTIMIZE)
17
18
# build targets
19
TARGETS = mcast-peer
20
21
-.PHONY: clean all debug
22
23
all: $(TARGETS)
24
25
-debug: CFLAGS+=$(DEBUG_FLAGS)
26
-debug: all
27
28
mcast-peer: mcast-peer.c
29
- $(CC) -o $@ $< $(CFLAGS) $(LIBS)
+ $(CC) -o $@ $< -L/usr/local/lib -lwolfssl
30
31
clean:
32
rm -f $(TARGETS)
0 commit comments