]> 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 d58e0356e3dad3cdb1d980e3af14744f4cf70df9..723702cc685e0339503e2c0cf87545af391abb71 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -2,11 +2,25 @@ 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
+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)
+
+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 .#*`