codec2/gui_interface/Makefile
2025-09-03 01:05:06 +01:00

24 lines
455 B
Makefile

# Makefile for UDP JSON demo
CC = gcc
CFLAGS = -O2 -Wall -Wno-stringop-truncation -pthread -std=gnu11 -D_GNU_SOURCE -DTEST_MAIN
LDFLAGS = -pthread
# Objects
OBJS = ui_communication.o
# Target
TARGET = ui_communication
all: $(TARGET)
$(TARGET): $(OBJS)
$(CC) $(CFLAGS) -o $@ $(OBJS) $(LDFLAGS)
ui_communication.o: ui_communication.c ui_communication.h
$(CC) $(CFLAGS) -c ui_communication.c
clean:
rm -f $(OBJS) $(TARGET)
.PHONY: all clean