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.
|
OUT=websocket
|
|
CFLAGS=-O3 -Wall -Wextra
|
|
LDFLAGS=-levent -lpthread
|
|
|
|
all: $(OUT) Makefile
|
|
|
|
%: %.o Makefile
|
|
$(CC) $(LDFLAGS) -o $@ $<
|
|
|
|
%.o: %.c Makefile
|
|
$(CC) -c $(CFLAGS) -o $@ $<
|
|
|
|
clean:
|
|
rm -f *.o $(OUT)
|
|
|