2024-10-01 22:48:28 +00:00
|
|
|
build:
|
|
|
|
@mkdir -p build
|
2024-10-08 02:18:42 +00:00
|
|
|
@gcc main.c cmdbuf.c hex.c request.c response.c server.c ../vbtest/vb.c \
|
2024-10-08 02:00:01 +00:00
|
|
|
-I include -I ../vbtest \
|
2024-10-08 02:42:28 +00:00
|
|
|
-Werror -std=c90 -Wall -Wextra -Wpedantic \
|
2024-10-06 21:19:14 +00:00
|
|
|
-Wno-unused-parameter -Wno-unused-function \
|
2024-10-10 03:13:34 +00:00
|
|
|
-D _POSIX_C_SOURCE=199309L \
|
2024-10-06 21:19:14 +00:00
|
|
|
-o ./build/rdb
|
2024-10-01 22:48:28 +00:00
|
|
|
clean:
|
|
|
|
@rm -rf build
|
|
|
|
.PHONY: build clean
|