]> mj.ucw.cz Git - misc.git/blob - Makefile
Merge branch 'master' of git+ssh://git.ucw.cz/home/mj/GIT/misc
[misc.git] / Makefile
1 CC=gcc
2 LD=gcc
3 CFLAGS=-O2 -Wall -W -Wno-parentheses -Wstrict-prototypes -Wmissing-prototypes -Wundef -Wredundant-decls -std=gnu99
4
5 all: utf8-check
6
7 parrot: parrot.c
8 xclipcat: xclipcat.c
9 xclipsend: xclipsend.c
10 prefork: prefork.c
11 pcap-tail: pcap-tail.c
12 utf8-check: utf8-check.c
13
14 fft: fft.c
15 fft: LDFLAGS+=-lm
16
17 batt: CFLAGS+=$(shell xosd-config --cflags)
18 batt: LDFLAGS+=$(shell xosd-config --libs)
19
20 xclipcat: LDFLAGS+=-L/usr/X11R6/lib -lX11
21 xclipsend: LDFLAGS+=-L/usr/X11R6/lib -lX11
22
23 rawhid: CFLAGS+=-I ~/linux/linux-2.6.28/include
24
25 clean:
26         rm -f `find . -name "*~" -or -name "*.[oa]" -or -name "\#*\#" -or -name TAGS -or -name core -or -name .depend -or -name .#*`