-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
31 lines (24 loc) · 630 Bytes
/
Makefile
File metadata and controls
31 lines (24 loc) · 630 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
##
## RealAlphabet, 2021
## Makefile
##
NAME = libmc
SRC = $(shell find src -name "*.c")
OBJ = $(SRC:.c=.o)
CFLAGS = -Wall \
-Werror \
-Wno-pointer-sign \
-Wno-unused-variable \
-I include \
-Llibs \
-lmbedcrypto \
-lcurl \
-g
all: $(NAME)
$(NAME):$(OBJ)
$(CC) -o $(NAME) $(OBJ) $(CFLAGS)
clean:
rm -f $(OBJ)
fclean: clean
rm -f $(NAME)
re: fclean all