Add a Makefile for conmon
Signed-off-by: Mrunal Patel <mrunalp@gmail.com>
This commit is contained in:
parent
530a258376
commit
7124d42257
1 changed files with 12 additions and 0 deletions
12
conmon/Makefile
Normal file
12
conmon/Makefile
Normal 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
|
Loading…
Reference in a new issue