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

default: all

all: server client

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

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

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