Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/Makefile.helpers
blob: 79f30eb6930818d1260db16766bd4a08a5a602ce (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
.PHONY: helpers-build helpers-clean

HELPERS_LIBS = $(shell pkg-config --libs xrandr x11)

$(HELPERS)/%: $(HELPERS)/%.c
	gcc -o $@ $< $(HELPERS_LIBS)

bin_HELPERS = $(HELPERS_DIR)/list-outputs \
              $(HELPERS_DIR)/find-free-display \
              $(HELPERS_DIR)/xephyr-window

helpers-build: $(bin_HELPERS)

helpers-clean:
	rm -f $(bin_HELPERS)