summaryrefslogtreecommitdiff
path: root/conmon/Makefile
blob: b75605d9438dc51a312792bce86a765a503a2328 (plain)
1
2
3
4
5
6
7
8
9
10
11
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