aboutsummaryrefslogtreecommitdiff
path: root/makefile
blob: 4623e494d8bcc2449ec3a6b320526eb0706ffff1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
CFLAGS=-g -Wall -Wpedantic
LDLIBS=-lnettle

OBJECTS=builtins.o network.o websocket.o

all: websocksy

websocksy: websocksy.c websocksy.h $(OBJECTS)
	$(CC) $(CFLAGS) $(LDLIBS) $< -o $@ $(OBJECTS)

clean:
	$(RM) $(OBJECTS)
	$(RM) websocksy