Files
c/examples/list_pod_buffer/Makefile

18 lines
371 B
Makefile
Raw Normal View History

INCLUDE:=-I../../kubernetes/ -I/usr/local/include/kubernetes/
LIBS:=-L../../kubernetes/build -lyaml -lwebsockets -lkubernetes -L/usr/local/lib
CFLAGS:=-g
BIN:=list_pod_buffer_bin
.PHONY : all clean test memcheck
all:
gcc main.c $(CFLAGS) $(INCLUDE) $(LIBS) -o $(BIN)
test:
./$(BIN)
memcheck:
valgrind --tool=memcheck --leak-check=full ./$(BIN)
clean:
rm ./$(BIN)