bd9acaf584
This fixes a bug where --conmon wouldn't actually set the conmon binary path, and also where we weren't setting CFLAGS while compiling conmon. Signed-off-by: Aleksa Sarai <asarai@suse.de>
12 lines
259 B
Makefile
12 lines
259 B
Makefile
src = $(wildcard *.c)
|
|
obj = $(src:.c=.o)
|
|
|
|
override LIBS += $(shell pkg-config --libs glib-2.0)
|
|
override CFLAGS += -Wall -Wextra $(shell pkg-config --cflags glib-2.0)
|
|
|
|
conmon: $(obj)
|
|
$(CC) -o $@ $^ $(CFLAGS) $(LIBS)
|
|
|
|
.PHONY: clean
|
|
clean:
|
|
rm -f $(obj) conmon
|