Files
utun2/tools/proxy/Makefile
T
2026-03-25 18:47:29 +03:00

23 lines
474 B
Makefile

# Makefile for udp_proxy - UDP network emulator proxy
CC = gcc
CFLAGS = -O2 -Wall -Wextra -std=gnu11 -I../../lib -I../../tinycrypt/lib/include
LDFLAGS = -L../../lib -luasync -lpthread
TARGET = udp_proxy
SRC = udp_proxy.c
.PHONY: all clean
all: $(TARGET)
$(TARGET): $(SRC)
$(CC) $(CFLAGS) $(SRC) -o $@ $(LDFLAGS)
@echo "✅ UDP proxy built: $(TARGET)"
clean:
rm -f $(TARGET)
@echo "🧹 Cleaned"
debug:
$(CC) $(CFLAGS) -g $(SRC) -o $(TARGET) $(LDFLAGS)