From 7124d422578c29ddd24a1a2be6902aa5c93e9204 Mon Sep 17 00:00:00 2001 From: Mrunal Patel Date: Fri, 26 Aug 2016 14:29:12 -0700 Subject: [PATCH] Add a Makefile for conmon Signed-off-by: Mrunal Patel --- conmon/Makefile | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 conmon/Makefile diff --git a/conmon/Makefile b/conmon/Makefile new file mode 100644 index 00000000..8726019e --- /dev/null +++ b/conmon/Makefile @@ -0,0 +1,12 @@ +src = $(wildcard *.c) +obj = $(src:.c=.o) + +LIBS = $(shell pkg-config --libs glib-2.0) +CFLAGS = -Wall -Wextra $(shell pkg-config --cflags glib-2.0) + +conmon: $(obj) + $(CC) -o $@ $^ $(LIBS) + +.PHONY: clean +clean: + rm -f $(obj) conmon