blob: eb7a579ec3a060652541bb6ede66a7fd994cb028 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
PLUGINPATH=plugins/
CFLAGS=-g -Wall -Wpedantic -DPLUGINS=\"$(PLUGINPATH)\"
LDLIBS=-lnettle
OBJECTS=builtins.o network.o websocket.o plugin.o
all: websocksy
websocksy: websocksy.c websocksy.h $(OBJECTS)
$(CC) $(CFLAGS) $(LDLIBS) $< -o $@ $(OBJECTS)
clean:
$(RM) $(OBJECTS)
$(RM) websocksy
|