diff options
author | Daniel Narvaez <dwnarvaez@gmail.com> | 2012-11-19 15:54:24 (GMT) |
---|---|---|
committer | Daniel Narvaez <dwnarvaez@gmail.com> | 2012-11-19 15:54:24 (GMT) |
commit | a3de3e6ad1aae1f7bb2c718eebd1d635e6717916 (patch) | |
tree | 2d6ac03fb0ff7ea01b7a137387da8a2f52a746cd /Makefile.helpers | |
parent | a96a6091c87492f56fe3f1169bf7608c2fa3d05c (diff) |
Run xephyr in a custom window
Xephyr doesn't work very well with multiple outputs. This should
allow us to customize our behavior in that case.
Diffstat (limited to 'Makefile.helpers')
-rw-r--r-- | Makefile.helpers | 18 |
1 files changed, 8 insertions, 10 deletions
diff --git a/Makefile.helpers b/Makefile.helpers index 7bd2ad4..65b5138 100644 --- a/Makefile.helpers +++ b/Makefile.helpers @@ -1,17 +1,15 @@ HELPERS = $(COMMANDS)/helpers -XRANDR_LIBS = $(shell pkg-config --libs xrandr x11) -X11_LIBS = $(shell pkg-config --libs x11) +HELPERS_LIBS = $(shell pkg-config --libs xrandr x11) -$(HELPERS)/list-outputs: $(HELPERS)/list-outputs.c - gcc -o $(HELPERS)/list-outputs \ - $(HELPERS)/list-outputs.c $(XRANDR_LIBS) +$(HELPERS)/%: $(HELPERS)/%.c + gcc -o $@ $< $(HELPERS_LIBS) -$(HELPERS)/find-free-display: $(HELPERS)/find-free-display.c - gcc -o $(HELPERS)/find-free-display \ - $(HELPERS)/find-free-display.c $(X11_LIBS) +bin_HELPERS = $(HELPERS)/list-outputs \ + $(HELPERS)/find-free-display \ + $(HELPERS)/xephyr-window -helpers: $(HELPERS)/list-outputs $(HELPERS)/find-free-display +helpers: $(bin_HELPERS) clean-helpers: - rm -f $(HELPERS)/list-outputs $(HELPERS)/find-free-display + rm -f $(bin_HELPERS) |