Add a Makefile for conmon

Signed-off-by: Mrunal Patel <mrunalp@gmail.com>
This commit is contained in:
Mrunal Patel 2016-08-26 14:29:12 -07:00
parent 530a258376
commit 7124d42257

12
conmon/Makefile Normal file
View file

@ -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