You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.

15 lines
362 B
Makefile

6 years ago
CC=gcc
CFLAGS= -std=gnu11 -O3 -Wall -Wunused $(INC)
INC= -I../inc/
DEPS=
OBJS= udp_client udp_server udp_sniffer
all: clean $(OBJECT) $(EXECUTABLE)
$(CC) $(CFLAGS) ../src/udp_client.c -o udp_client $(DEPS)
$(CC) $(CFLAGS) ../src/udp_server.c -o udp_server $(DEPS)
$(CC) $(CFLAGS) ../src/udp_sniffer.c -o udp_sniffer $(DEPS)
@chmod +x *
clean:
-rm -f udp*