]> mj.ucw.cz Git - misc.git/blobdiff - Makefile
Merge branch 'master' of git+ssh://git.ucw.cz/home/mj/GIT/misc
[misc.git] / Makefile
index c806aa287969e6c7dd6ed10106db84acacadd71a..723702cc685e0339503e2c0cf87545af391abb71 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -2,14 +2,17 @@ CC=gcc
 LD=gcc
 CFLAGS=-O2 -Wall -W -Wno-parentheses -Wstrict-prototypes -Wmissing-prototypes -Wundef -Wredundant-decls -std=gnu99
 
-all:
-       @echo "Please choose what to make:"
-       @grep '^[^      ]*:' Makefile | grep -v =
+all: utf8-check
 
 parrot: parrot.c
 xclipcat: xclipcat.c
 xclipsend: xclipsend.c
 prefork: prefork.c
+pcap-tail: pcap-tail.c
+utf8-check: utf8-check.c
+
+fft: fft.c
+fft: LDFLAGS+=-lm
 
 batt: CFLAGS+=$(shell xosd-config --cflags)
 batt: LDFLAGS+=$(shell xosd-config --libs)
@@ -17,5 +20,7 @@ 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 .#*`