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 .#*`