]> mj.ucw.cz Git - misc.git/blobdiff - Makefile
Added a simple preforking server.
[misc.git] / Makefile
index ff28ffef316839973c9c61509545c5e035c942f4..c806aa287969e6c7dd6ed10106db84acacadd71a 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -4,12 +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 .#*`