codec2/data_interfaces/Makefile
2025-08-21 01:21:05 +01:00

35 lines
1.1 KiB
Makefile

# HERMES Modem
#
# Copyright (C) 2025 Rhizomatica
# Author: Rafael Diniz <rafael@riseup.net>
#
# This is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3, or (at your option)
# any later version.
#
# This software is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this software; see the file COPYING. If not, write to
# the Free Software Foundation, Inc., 51 Franklin Street,
# Boston, MA 02110-1301, USA.
#
CC=gcc
CFLAGS=-Wall -O2 -std=gnu11 -pthread -D_GNU_SOURCE=1 -I../modem -I../modem/freedv -I../common -I../datalink_arq
all: tcp_interfaces.o net.o
tcp_interfaces.o: tcp_interfaces.c tcp_interfaces.h
$(CC) $(CFLAGS) -c tcp_interfaces.c
net.o: net.c net.h
$(CC) $(CFLAGS) -c net.c
clean:
rm -f *.o