diff options
Diffstat (limited to 'conmon/Makefile')
-rw-r--r-- | conmon/Makefile | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/conmon/Makefile b/conmon/Makefile new file mode 100644 index 000000000..b75605d94 --- /dev/null +++ b/conmon/Makefile @@ -0,0 +1,12 @@ +src = $(wildcard *.c) +obj = $(src:.c=.o) + +override LIBS += $(shell pkg-config --libs glib-2.0) +override CFLAGS += -std=c99 -Os -Wall -Wextra $(shell pkg-config --cflags glib-2.0) + +conmon: $(obj) + $(CC) -o ../bin/$@ $^ $(CFLAGS) $(LIBS) + +.PHONY: clean +clean: + rm -f $(obj) ../bin/conmon |