2024-10-01 22:48:28 +00:00
|
|
|
build:
|
|
|
|
@mkdir -p build
|
2024-10-11 00:39:45 +00:00
|
|
|
@gcc main.c cmdbuf.c hex.c request.c response.c server.c pvbemu/core/vb.c \
|
|
|
|
-I include -I pvbemu/core \
|
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
|