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