2016-08-26 21:29:12 +00:00
|
|
|
src = $(wildcard *.c)
|
|
|
|
obj = $(src:.c=.o)
|
|
|
|
|
2016-10-01 02:15:30 +00:00
|
|
|
override LIBS += $(shell pkg-config --libs glib-2.0)
|
|
|
|
override CFLAGS += -Wall -Wextra $(shell pkg-config --cflags glib-2.0)
|
2016-08-26 21:29:12 +00:00
|
|
|
|
|
|
|
conmon: $(obj)
|
|
|
|
$(CC) -o $@ $^ $(LIBS)
|
|
|
|
|
|
|
|
.PHONY: clean
|
|
|
|
clean:
|
|
|
|
rm -f $(obj) conmon
|