mirror of
https://github.com/Netflix/dial-reference.git
synced 2026-06-08 10:59:59 +00:00
18 lines
523 B
Makefile
18 lines
523 B
Makefile
CC=$(TARGET)g++
|
|
|
|
.PHONY: clean
|
|
.DEFAULT_GOAL=dialclient
|
|
|
|
includes = $(wildcard *.h)
|
|
OBJS := main.cpp DialServer.cpp DialDiscovery.cpp DialConformance.cpp DialClientInput.cpp
|
|
|
|
debug: CFLAGS += -DDEBUG
|
|
debug: dialclient
|
|
|
|
# You may not need all these libraries. This example uses a build of curl that needs crypto, ssl, cares, and zlib
|
|
dialclient: $(OBJS) ${includes}
|
|
$(CC) -Wall -Werror -g $(OBJS) $(INCLUDES) $(LDFLAGS) -ldl -lpthread -lcurl -lz -lcrypto -lssl -o dialclient
|
|
|
|
clean:
|
|
rm -f *.o dialclient
|