]> mj.ucw.cz Git - misc.git/blobdiff - Makefile
Ursary: FIXMEs
[misc.git] / Makefile
index d58e0356e3dad3cdb1d980e3af14744f4cf70df9..f7d486df9981e65bafcb65c0abf3f878347ca030 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -4,9 +4,24 @@ 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
+pcap-tail: pcap-tail.c
+
+fft: fft.c
+fft: LDFLAGS+=-lm
+
+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
+
+rawhid: CFLAGS+=-I ~/linux/linux-2.6.28/include
 
 clean:
        rm -f `find . -name "*~" -or -name "*.[oa]" -or -name "\#*\#" -or -name TAGS -or -name core -or -name .depend -or -name .#*`