/tests/Makefile
http://github.com/nicolasff/webdis · Makefile · 18 lines · 12 code · 6 blank · 0 comment · 0 complexity · 0faf01105514d67441059087b556bac7 MD5 · raw file
- OUT=websocket pubsub
- CFLAGS=-O3 -Wall -Wextra
- LDFLAGS=-levent -lpthread -lrt
- all: $(OUT) Makefile
- websocket: websocket.o
- $(CC) -o $@ $< $(LDFLAGS)
- pubsub: pubsub.o
- $(CC) -o $@ $< $(LDFLAGS)
- %.o: %.c Makefile
- $(CC) -c $(CFLAGS) -o $@ $<
- clean:
- rm -f *.o $(OUT)