]> mj.ucw.cz Git - misc.git/blobdiff - Makefile
Merge with git+ssh://git.ucw.cz/home/mj/GIT/misc.git
[misc.git] / Makefile
index d58e0356e3dad3cdb1d980e3af14744f4cf70df9..c806aa287969e6c7dd6ed10106db84acacadd71a 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -4,9 +4,18 @@ CFLAGS=-O2 -Wall -W -Wno-parentheses -Wstrict-prototypes -Wmissing-prototypes -W
 
 all:
        @echo "Please choose what to make:"
-       @grep '^[^      ]*:' Makefile
+       @grep '^[^      ]*:' Makefile | grep -v =
 
 parrot: parrot.c
+xclipcat: xclipcat.c
+xclipsend: xclipsend.c
+prefork: prefork.c
+
+batt: CFLAGS+=$(shell xosd-config --cflags)
+batt: LDFLAGS+=$(shell xosd-config --libs)
+
+xclipcat: LDFLAGS+=-L/usr/X11R6/lib -lX11
+xclipsend: LDFLAGS+=-L/usr/X11R6/lib -lX11
 
 clean:
        rm -f `find . -name "*~" -or -name "*.[oa]" -or -name "\#*\#" -or -name TAGS -or -name core -or -name .depend -or -name .#*`