You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

22 lines
474 B

# 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)