From a031b83a09a8628435317a03f199cdc18b78262f Mon Sep 17 00:00:00 2001 From: Matthew Heon Date: Wed, 1 Nov 2017 11:24:59 -0400 Subject: Initial checkin from CRI-O repo Signed-off-by: Matthew Heon --- conmon/Makefile | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 conmon/Makefile (limited to 'conmon/Makefile') diff --git a/conmon/Makefile b/conmon/Makefile new file mode 100644 index 000000000..b75605d94 --- /dev/null +++ b/conmon/Makefile @@ -0,0 +1,12 @@ +src = $(wildcard *.c) +obj = $(src:.c=.o) + +override LIBS += $(shell pkg-config --libs glib-2.0) +override CFLAGS += -std=c99 -Os -Wall -Wextra $(shell pkg-config --cflags glib-2.0) + +conmon: $(obj) + $(CC) -o ../bin/$@ $^ $(CFLAGS) $(LIBS) + +.PHONY: clean +clean: + rm -f $(obj) ../bin/conmon -- cgit v1.2.3-54-g00ecf