aboutsummaryrefslogtreecommitdiff
path: root/Makefile
blob: 725e61ead4791ed4ee7c71e694bab73c6dabb3fb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
CC      = gcc
# CFLAGS  = -std=c99 -target x86_64-apple-darwin20 -g 
CFLAGS = -g -I. -std=gnu99 -Wall -pthread

all: server client

server:
	$(CC) $(CFLAGS) -o snowcast_server server.c

client:
	$(CC) $(CFLAGS) -o snowcast_control client.c
	$(CC) $(CFLAGS) -o snowcast_listener listener.c

# new:
# 	$(CC) $(CFLAGS) -o s snowcast_server_concurrent.c
# 	$(CC) $(CFLAGS) -o l listener.c
# 	$(CC) $(CFLAGS) -o c client.c

clean:
	rm -fv snowcast_control snowcast_listener snowcast_server